chore: phpdoc_to_property_type #1837
Annotations
5 errors
Check - phpstan:
tests/Fixer/ControlStructure/YodaStyleFixerTest.php#L964
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'PhpCsFixer\\FixerDefinition\\FixerDefinitionInterface' and PhpCsFixer\FixerDefinition\FixerDefinitionInterface will always evaluate to true.
|
Check - phpstan:
tests/Test/AbstractFixerWithAliasedOptionsTestCase.php#L49
Instanceof between PhpCsFixer\AbstractFixer and PhpCsFixer\AbstractFixer will always evaluate to true.
|
Check - phpstan:
tests/Test/TokensWithObservedTransformers.php#L1
Ignored error pattern #^Property PhpCsFixer\\Tests\\Test\\TokensWithObservedTransformers\:\:\$observedModificationsPerTransformer \(array\<string, list\<int\|string\>\>\) does not accept non\-empty\-array\<int\|string, list\<int\|string\>\>\.$# (assign.propertyType) in path /home/runner/work/PHP-CS-Fixer/PHP-CS-Fixer/tests/Test/TokensWithObservedTransformers.php was not matched in reported errors.
|
Check - phpstan:
tests/UtilsTest.php#L37
Property PhpCsFixer\Tests\UtilsTest::$originalValueOfFutureMode (string|false|null) is never assigned null so it can be removed from the property type.
|
Check - phpstan
Process completed with exit code 1.
|
Loading