Skip to content

Fix error on PHP 8.4 #463

Fix error on PHP 8.4

Fix error on PHP 8.4 #463

Triggered via pull request July 13, 2024 13:32
@ADmadADmad
opened #454
php-8.4
Status Failure
Total duration 2m 42s
Artifacts

ci.yml

on: pull_request
cs-stan  /  Coding Standard & Static Analysis
35s
cs-stan / Coding Standard & Static Analysis
Matrix: testsuite
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 7 warnings
testsuite (8.4, highest, true, --ignore-platform-req=php)
Process completed with exit code 1.
cs-stan / Coding Standard & Static Analysis: src/Chronos.php#L746
Call to an undefined static method DateTimeImmutable::createFromTimestamp().
cs-stan / Coding Standard & Static Analysis: src/Chronos.php#L749
Parameter #1 $timestamp of method Cake\Chronos\Chronos::setTimestamp() expects int, float|int given.
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 1.
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 1.
testsuite (8.4, highest, true, --ignore-platform-req=php)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
cs-stan / Coding Standard & Static Analysis
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
cs-stan / Coding Standard & Static Analysis: src/Chronos.php#L739
@param type hint is not formatted properly, expected "float|int"
testsuite (8.3, highest, false)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
testsuite (8.2, highest, false)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
testsuite (8.1, lowest, false)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
testsuite (8.1, highest, false)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/