Skip to content

FEATURE: Allow custom rules by including them in the config #28

FEATURE: Allow custom rules by including them in the config

FEATURE: Allow custom rules by including them in the config #28

Triggered via pull request December 15, 2024 20:19
Status Failure
Total duration 1m 47s
Artifacts

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
RiskyTruthyFalsyComparison: ../../src/CodeStyle.php#L57
../../src/CodeStyle.php:57:14: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: ../../src/CodeStyle.php#L61
../../src/CodeStyle.php:61:14: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: ../../src/CodeStyle.php#L73
../../src/CodeStyle.php:73:14: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
UndefinedInterfaceMethod: ../../src/CodeStyleConfiguration.php#L37
../../src/CodeStyleConfiguration.php:37:19: UndefinedInterfaceMethod: Method Symfony\Component\Config\Definition\Builder\NodeParentInterface::scalarNode does not exist (see https://psalm.dev/181)
RiskyTruthyFalsyComparison: ../../src/Files/File.php#L40
../../src/Files/File.php:40:27: RiskyTruthyFalsyComparison: Operand of type false|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
MissingTemplateParam: ../../src/Files/FileCollection.php#L20
../../src/Files/FileCollection.php:20:33: MissingTemplateParam: Vette\Neos\CodeStyle\Files\FileCollection has missing template params when extending Iterator, expecting 2 (see https://psalm.dev/182)
MissingTemplateParam: ../../src/Filter/Filter.php#L17
../../src/Filter/Filter.php:17:7: MissingTemplateParam: Vette\Neos\CodeStyle\Filter\Filter has missing template params when extending RecursiveFilterIterator, expecting 3 (see https://psalm.dev/182)
MissingTemplateParam: ../../src/Packages/PackageCollection.php#L14
../../src/Packages/PackageCollection.php:14:36: MissingTemplateParam: Vette\Neos\CodeStyle\Packages\PackageCollection has missing template params when extending Iterator, expecting 2 (see https://psalm.dev/182)
MissingTemplateParam: ../../src/Rules/RuleCollection.php#L14
../../src/Rules/RuleCollection.php:14:33: MissingTemplateParam: Vette\Neos\CodeStyle\Rules\RuleCollection has missing template params when extending Iterator, expecting 2 (see https://psalm.dev/182)
Lint Code Base
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636