Skip to content

Support PHP 8.4

Support PHP 8.4 #51

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

test.yaml

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

Annotations

23 errors and 1 warning
test (8.4, ubuntu-latest, false)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires nikic/php-parser ^4.0, found nikic/php-parser[v4.0.0, ..., v4.19.4] but these were not loaded, likely because it conflicts with another require. Problem 2 - phpunit/phpunit is locked to version 11.5.1 and an update of this package was not requested. - phpunit/php-code-coverage 11.0.8 requires nikic/php-parser ^5.3.1 -> found nikic/php-parser[v5.3.1] but it conflicts with your root composer.json require (^4.0). - phpunit/phpunit 11.5.1 requires phpunit/php-code-coverage ^11.0.7 -> satisfiable by phpunit/php-code-coverage[11.0.8].
test (8.4, ubuntu-latest, false)
Process completed with exit code 2.
test (8.3, ubuntu-latest, false)
The job was canceled because "_8_4_ubuntu-latest_false" failed.
test (8.3, ubuntu-latest, false)
The operation was canceled.
test (7.4, ubuntu-latest, false)
The job was canceled because "_8_4_ubuntu-latest_false" failed.
test (7.4, ubuntu-latest, false)
The operation was canceled.
test (8.0, ubuntu-latest, false)
The job was canceled because "_8_4_ubuntu-latest_false" failed.
RiskyTruthyFalsyComparison: src/Handler/EmailHandler.php#L22
src/Handler/EmailHandler.php:22:18: 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/Handler/UrlHandler.php#L22
src/Handler/UrlHandler.php:22:16: 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)
ArgumentTypeCoercion: src/Parser/RegexParser.php#L85
src/Parser/RegexParser.php:85:30: ArgumentTypeCoercion: Argument 1 of explode expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
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)
ArgumentTypeCoercion: src/Parser/WordpressParser.php#L106
src/Parser/WordpressParser.php:106:28: 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)
The job was canceled because "_8_4_ubuntu-latest_false" failed.
test (8.1, ubuntu-latest, false)
The operation was canceled.
test (8.2, ubuntu-latest, false)
The job was canceled because "_8_4_ubuntu-latest_false" failed.
test (8.2, ubuntu-latest, false)
The operation was canceled.
test (8.5, ubuntu-latest, true)
The job was canceled because "_8_4_ubuntu-latest_false" failed.
test (8.5, ubuntu-latest, true)
The operation was canceled.
test (8.4, ubuntu-latest, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636