Skip to content

Configure layer internal tag (#1318) #2021

Configure layer internal tag (#1318)

Configure layer internal tag (#1318) #2021

Triggered via push January 19, 2024 15:12
Status Failure
Total duration 33s
Artifacts
Matrix: Coding Standards
Matrix: Static Code Analysis by PHPStan
Matrix: Static Code Analysis by Psalm
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
ArgumentTypeCoercion: src/Core/Ast/AstMap/ClassLike/ClassLikeToken.php#L20
src/Core/Ast/AstMap/ClassLike/ClassLikeToken.php:20:33: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
ArgumentTypeCoercion: src/Core/Ast/AstMap/Function/FunctionToken.php#L20
src/Core/Ast/AstMap/Function/FunctionToken.php:20:33: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
RiskyTruthyFalsyComparison: src/Core/Ast/Parser/TypeScope.php#L18
src/Core/Ast/Parser/TypeScope.php:18:21: 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/Core/Layer/Collector/BoolCollector.php#L89
src/Core/Layer/Collector/BoolCollector.php:89:13: RiskyTruthyFalsyComparison: Operand of type array<string, string>|bool|string contains types array<string, string>|string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Core/Layer/Collector/BoolCollector.php#L89
src/Core/Layer/Collector/BoolCollector.php:89:40: RiskyTruthyFalsyComparison: Operand of type array<string, string>|bool|string contains types array<string, string>|string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
ArgumentTypeCoercion: src/Core/Layer/Collector/DirectoryCollector.php#L24
src/Core/Layer/Collector/DirectoryCollector.php:24:33: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
ArgumentTypeCoercion: src/Core/Layer/Collector/GlobCollector.php#L34
src/Core/Layer/Collector/GlobCollector.php:34:33: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
ArgumentTypeCoercion: src/Core/Layer/Collector/MethodCollector.php#L31
src/Core/Layer/Collector/MethodCollector.php:31:34: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
ArgumentTypeCoercion: src/Core/Layer/Collector/RegexCollector.php#L27
src/Core/Layer/Collector/RegexCollector.php:27:35: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
ArgumentTypeCoercion: src/Core/Layer/Collector/TagValueRegexCollector.php#L30
src/Core/Layer/Collector/TagValueRegexCollector.php:30:28: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
Coding Standards (ubuntu-22.04, 8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Static Code Analysis by PHPStan (ubuntu-22.04, 8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Static Code Analysis by Psalm (ubuntu-22.04, 8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Static Code Analysis by Psalm (ubuntu-22.04, 8.1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/