Skip to content

Fix directory path resolution #25

Fix directory path resolution

Fix directory path resolution #25

Triggered via push March 11, 2026 17:50
Status Failure
Total duration 25s
Artifacts

psalm.yml

on: push
Matrix: style
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
PHP 8.2 - stable
Process completed with exit code 2.
RiskyTruthyFalsyComparison: src/Phug/Split/Command/Update.php#L225
src/Phug/Split/Command/Update.php:225:20: 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/Phug/Split/Command/Dist.php#L133
src/Phug/Split/Command/Dist.php:133:32: 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/Phug/Split/Command/Dist.php#L127
src/Phug/Split/Command/Dist.php:127: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/Phug/Split/Command/Dist.php#L77
src/Phug/Split/Command/Dist.php:77:13: 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)
RiskyTruthyFalsyComparison: src/Phug/Split/Command/Copy.php#L70
src/Phug/Split/Command/Copy.php:70:13: 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)
RiskyTruthyFalsyComparison: src/Phug/Split/Command/Copy.php#L64
src/Phug/Split/Command/Copy.php:64: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: src/Phug/Split/Command/CommandBase.php#L97
src/Phug/Split/Command/CommandBase.php:97:38: 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/Phug/Split/Command/CommandBase.php#L64
src/Phug/Split/Command/CommandBase.php:64:48: 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)
PHP 8.2 - stable
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, shivammathur/setup-php@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/