Make dumpType() more consistent with PHPDoc types #17037
Annotations
6 errors
PHPStan:
tests/Persistence/Mapping/DriverChainTest.php#L76
Call to static method PHPUnit\Framework\Assert::assertSame() with array{"Doctrine\\Tests…", "Doctrine\\Tests\\ORM…", "Doctrine\\Tests\\ORM…"} and array<int, class-string> will always evaluate to false.
|
PHPStan:
tests/Persistence/Mapping/DriverChainTest.php#L152
Call to static method PHPUnit\Framework\Assert::assertSame() with array{"Doctrine\\Tests…", "Other\\Class"} and array<int, class-string> will always evaluate to false.
|
PHPStan:
tests/Persistence/Mapping/SymfonyFileLocatorTest.php#L78
Call to static method PHPUnit\Framework\Assert::assertSame() with non-empty-array<int, "Foo\\Bar\\subDirClass"|"Foo\\global"|"Foo\\stdClass"> and array<int, class-string> will always evaluate to false.
|
PHPStan:
tests/Persistence/Mapping/SymfonyFileLocatorTest.php#L79
Call to static method PHPUnit\Framework\Assert::assertSame() with non-empty-array<int, "Foo\\Bar\\subDirClass"|"Foo\\stdClass"> and array<int, class-string> will always evaluate to false.
|
PHPStan:
tests/Persistence/Mapping/SymfonyFileLocatorTest.php#L123
Call to static method PHPUnit\Framework\Assert::assertSame() with array{"Foo\\stdClass", "Foo\\sub\\subClass", "Foo\\sub\\subsub…"} and array<int, class-string> will always evaluate to false.
|
PHPStan
Process completed with exit code 1.
|
Loading