chore(deps-dev): upgrade PHPStan

This commit is contained in:
Ben Ramsey
2025-05-25 16:52:53 -05:00
parent 691c2c816e
commit 76cbc566e2
57 changed files with 447 additions and 422 deletions
+3 -1
View File
@@ -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());
}