Skip to content

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

FEATURE: Allow custom rules by including them in the config

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

Triggered via pull request December 12, 2024 20:33
Status Failure
Total duration 2m 43s
Artifacts

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint Code Base: src/CodeStyleConfiguration.php#L32
Call to an undefined method Symfony\Component\Config\Definition\Builder\NodeDefinition::children().
Lint Code Base: src/CodeStyleConfiguration.php#L74
Call to an undefined method Symfony\Component\Config\Definition\Builder\NodeDefinition::useAttributeAsKey().
PropertyNotSetInConstructor: ../../../github/workspace/src/CodeStyle.php#L29
../../../github/workspace/src/CodeStyle.php:29:30: PropertyNotSetInConstructor: Property Vette\Neos\CodeStyle\CodeStyle::$fileCollection is not defined in constructor of Vette\Neos\CodeStyle\CodeStyle or in any methods called in the constructor (see https://psalm.dev/074)
PropertyNotSetInConstructor: ../../../github/workspace/src/CodeStyle.php#L31
../../../github/workspace/src/CodeStyle.php:31:33: PropertyNotSetInConstructor: Property Vette\Neos\CodeStyle\CodeStyle::$packageCollection is not defined in constructor of Vette\Neos\CodeStyle\CodeStyle or in any methods called in the constructor (see https://psalm.dev/074)
PropertyNotSetInConstructor: ../../../github/workspace/src/CodeStyle.php#L33
../../../github/workspace/src/CodeStyle.php:33:30: PropertyNotSetInConstructor: Property Vette\Neos\CodeStyle\CodeStyle::$ruleCollection is not defined in constructor of Vette\Neos\CodeStyle\CodeStyle or in any methods called in the constructor (see https://psalm.dev/074)
PropertyNotSetInConstructor: ../../../github/workspace/src/CodeStyle.php#L35
../../../github/workspace/src/CodeStyle.php:35:22: PropertyNotSetInConstructor: Property Vette\Neos\CodeStyle\CodeStyle::$report is not defined in constructor of Vette\Neos\CodeStyle\CodeStyle or in any methods called in the constructor (see https://psalm.dev/074)
RiskyTruthyFalsyComparison: ../../../github/workspace/src/CodeStyle.php#L57
../../../github/workspace/src/CodeStyle.php:57:13: 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: ../../../github/workspace/src/CodeStyle.php#L61
../../../github/workspace/src/CodeStyle.php:61:13: 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: ../../../github/workspace/src/CodeStyle.php#L73
../../../github/workspace/src/CodeStyle.php:73:13: 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)
UndefinedMethod: ../../../github/workspace/src/CodeStyleConfiguration.php#L33
../../../github/workspace/src/CodeStyleConfiguration.php:33:15: UndefinedMethod: Method Symfony\Component\Config\Definition\Builder\NodeDefinition::children does not exist (see https://psalm.dev/022)
Lint Code Base
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636