Skip to content

Bump vimeo/psalm from 5.13.1 to 5.22.1 #155

Bump vimeo/psalm from 5.13.1 to 5.22.1

Bump vimeo/psalm from 5.13.1 to 5.22.1 #155

Triggered via pull request February 19, 2024 01:23
Status Failure
Total duration 34s
Artifacts

static-analysis.yml

on: pull_request
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 7 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)
RiskyTruthyFalsyComparison: src/Supportive/Console/Command/DebugLayerRunner.php#L28
src/Supportive/Console/Command/DebugLayerRunner.php:28:24: 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)
Coding Standards (ubuntu-20.04, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Coding Standards (ubuntu-20.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-20.04, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static Code Analysis by PHPStan (ubuntu-20.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-20.04, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static Code Analysis by Psalm (ubuntu-20.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-20.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/