Skip to content

chore: phpdoc_to_property_type #1837

chore: phpdoc_to_property_type

chore: phpdoc_to_property_type #1837

Triggered via push December 18, 2024 10:53
Status Failure
Total duration 1m 42s
Artifacts

sca.yml

on: push
Static Code Analysis
1m 31s
Static Code Analysis
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Static Code Analysis: 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.
Static Code Analysis: tests/Test/AbstractFixerWithAliasedOptionsTestCase.php#L49
Instanceof between PhpCsFixer\AbstractFixer and PhpCsFixer\AbstractFixer will always evaluate to true.
Static Code Analysis: 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.
Static Code Analysis: 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.
Static Code Analysis
Process completed with exit code 1.