Skip to content

Support PHP 8.4

Support PHP 8.4 #55

Triggered via pull request December 15, 2024 20:28
@thundererthunderer
synchronize #114
php84
Status Failure
Total duration 29s
Artifacts

test.yaml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

32 errors and 1 warning
PropertyTypeCoercion: src/Parser/RegularParser.php#L40
src/Parser/RegularParser.php:40:29: PropertyTypeCoercion: $this->lexerRegex expects 'non-empty-string', parent type 'string' provided (see https://psalm.dev/198)
ArgumentTypeCoercion: src/Parser/RegularParser.php#L114
src/Parser/RegularParser.php:114:29: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
RiskyTruthyFalsyComparison: src/Parser/RegularParser.php#L187
src/Parser/RegularParser.php:187:12: 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/Parser/RegularParser.php#L317
src/Parser/RegularParser.php:317:13: RiskyTruthyFalsyComparison: Operand of type int|null contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RedundantFunctionCall: src/Parser/RegularParser.php#L355
src/Parser/RegularParser.php:355:56: RedundantFunctionCall: Using sprintf with a single argument is redundant, since there are no placeholder params to be substituted (see https://psalm.dev/280)
ArgumentTypeCoercion: src/Parser/WordpressParser.php#L79
src/Parser/WordpressParser.php:79:24: ArgumentTypeCoercion: Argument 1 of preg_match_all expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
test (8.0, ubuntu-latest, false)
Process completed with exit code 2.
test (8.5, ubuntu-latest, true)
The job was canceled because "_8_0_ubuntu-latest_false" failed.
test (8.5, ubuntu-latest, true)
Process completed with exit code 1.
test (8.5, ubuntu-latest, true)
Process completed with exit code 1.
test (8.1, ubuntu-latest, false)
The job was canceled because "_8_0_ubuntu-latest_false" failed.
PropertyTypeCoercion: src/Parser/RegularParser.php#L40
src/Parser/RegularParser.php:40:29: PropertyTypeCoercion: $this->lexerRegex expects 'non-empty-string', parent type 'string' provided (see https://psalm.dev/198)
ArgumentTypeCoercion: src/Parser/RegularParser.php#L114
src/Parser/RegularParser.php:114:29: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
RiskyTruthyFalsyComparison: src/Parser/RegularParser.php#L187
src/Parser/RegularParser.php:187:12: 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/Parser/RegularParser.php#L317
src/Parser/RegularParser.php:317:13: RiskyTruthyFalsyComparison: Operand of type int|null contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RedundantFunctionCall: src/Parser/RegularParser.php#L355
src/Parser/RegularParser.php:355:56: RedundantFunctionCall: Using sprintf with a single argument is redundant, since there are no placeholder params to be substituted (see https://psalm.dev/280)
ArgumentTypeCoercion: src/Parser/WordpressParser.php#L79
src/Parser/WordpressParser.php:79:24: ArgumentTypeCoercion: Argument 1 of preg_match_all expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
test (8.1, ubuntu-latest, false)
Process completed with exit code 2.
test (8.2, ubuntu-latest, false)
The job was canceled because "_8_0_ubuntu-latest_false" failed.
test (8.2, ubuntu-latest, false)
The operation was canceled.
test (7.4, ubuntu-latest, false)
The job was canceled because "_8_0_ubuntu-latest_false" failed.
test (7.4, ubuntu-latest, false)
The operation was canceled.
test (8.4, ubuntu-latest, false)
The job was canceled because "_8_0_ubuntu-latest_false" failed.
test (8.4, ubuntu-latest, false)
The operation was canceled.
test (8.3, ubuntu-latest, false)
The job was canceled because "_8_0_ubuntu-latest_false" failed.
PropertyTypeCoercion: src/Parser/RegularParser.php#L40
src/Parser/RegularParser.php:40:29: PropertyTypeCoercion: $this->lexerRegex expects 'non-empty-string', parent type 'string' provided (see https://psalm.dev/198)
ArgumentTypeCoercion: src/Parser/RegularParser.php#L114
src/Parser/RegularParser.php:114:29: ArgumentTypeCoercion: Argument 1 of preg_match expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
RiskyTruthyFalsyComparison: src/Parser/RegularParser.php#L187
src/Parser/RegularParser.php:187:12: 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/Parser/RegularParser.php#L317
src/Parser/RegularParser.php:317:13: RiskyTruthyFalsyComparison: Operand of type int|null contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RedundantFunctionCall: src/Parser/RegularParser.php#L355
src/Parser/RegularParser.php:355:56: RedundantFunctionCall: Using sprintf with a single argument is redundant, since there are no placeholder params to be substituted (see https://psalm.dev/280)
ArgumentTypeCoercion: src/Parser/WordpressParser.php#L79
src/Parser/WordpressParser.php:79:24: ArgumentTypeCoercion: Argument 1 of preg_match_all expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
test (8.3, ubuntu-latest, false)
The operation was canceled.
test (8.0, ubuntu-latest, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636