Skip to content

Fix coverage job

Fix coverage job #24

Triggered via push March 11, 2026 17:44
Status Failure
Total duration 27s
Artifacts

psalm.yml

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

Annotations

10 errors and 1 warning
PossiblyFalseArgument: src/Phug/Split/Command/Dist.php#L102
src/Phug/Split/Command/Dist.php:102:21: PossiblyFalseArgument: Argument 1 of Phug\Split::chdir cannot be false, possibly string value expected (see https://psalm.dev/104)
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)
PossiblyFalseArgument: src/Phug/Split/Command/Dist.php#L73
src/Phug/Split/Command/Dist.php:73:21: PossiblyFalseArgument: Argument 1 of Phug\Split::chdir cannot be false, possibly string value expected (see https://psalm.dev/104)
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)
RiskyTruthyFalsyComparison: src/Phug/Split/Command/Analyze.php#L56
src/Phug/Split/Command/Analyze.php:56: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)
PossiblyFalseArgument: src/Phug/Split/Command/Analyze.php#L54
src/Phug/Split/Command/Analyze.php:54:37: PossiblyFalseArgument: Argument 1 of realpath cannot be false, possibly string value expected (see https://psalm.dev/104)
PropertyTypeCoercion: src/Phug/Split/Command/Analyze.php#L54
src/Phug/Split/Command/Analyze.php:54:28: PropertyTypeCoercion: $this->directory expects 'false|non-falsy-string', parent type 'false|string' provided (see https://psalm.dev/198)
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/