mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-15 16:07:55 +03:00
chore(deps-dev): upgrade PHPStan
This commit is contained in:
@@ -26,6 +26,7 @@ class RandomLibAdapterTest extends TestCase
|
||||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
|
||||
/** @phpstan-ignore method.alreadyNarrowedType */
|
||||
$this->assertInstanceOf(RandomLibAdapter::class, new RandomLibAdapter($generator));
|
||||
}
|
||||
|
||||
@@ -33,7 +34,7 @@ class RandomLibAdapterTest extends TestCase
|
||||
* @runInSeparateProcess
|
||||
* @preserveGlobalState disabled
|
||||
*/
|
||||
public function testAdapterWithoutGeneratorGreatesGenerator(): void
|
||||
public function testAdapterWithoutGeneratorCreatesGenerator(): void
|
||||
{
|
||||
$generator = Mockery::mock(Generator::class);
|
||||
|
||||
@@ -41,6 +42,7 @@ class RandomLibAdapterTest extends TestCase
|
||||
$factory = Mockery::mock('overload:' . RandomLibFactory::class);
|
||||
$factory->expects()->getHighStrengthGenerator()->andReturns($generator);
|
||||
|
||||
/** @phpstan-ignore method.alreadyNarrowedType */
|
||||
$this->assertInstanceOf(RandomLibAdapter::class, new RandomLibAdapter());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user