Skip to content

Fix deprecated null type hinting #9262

Fix deprecated null type hinting

Fix deprecated null type hinting #9262

Triggered via push November 23, 2024 18:06
Status Failure
Total duration 2m 10s
Artifacts

backend.yml

on: push
Code Quality
38s
Code Quality
Coding Style
14s
Coding Style
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 12 warnings
Coding Style
Process completed with exit code 16.
Unit tests - PHP 8.1
Process completed with exit code 1.
Unit tests - PHP 8.2
The job was canceled because "_8_1" failed.
Unit tests - PHP 8.4
The job was canceled because "_8_1" failed.
Unit tests - PHP 8.4
The operation was canceled.
Unit tests - PHP 8.3
The job was canceled because "_8_1" failed.
Unit tests - PHP 8.3: tests/Http/CookieTest.php#L53
Failed asserting that false is true.
Unit tests - PHP 8.3
Process completed with exit code 1.
Coding Style
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744, actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit tests - PHP 8.1
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744, actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c, github/codeql-action/upload-sarif@4a8f20f6b9b5114f354129a1e2f391d75bfd640a. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit tests - PHP 8.1
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
Code Quality
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744, actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c, github/codeql-action/upload-sarif@4a8f20f6b9b5114f354129a1e2f391d75bfd640a. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Code Quality
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
Unit tests - PHP 8.3
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
Unit tests - PHP 8.3: src/Cms/Blueprint.php#L321
Optional parameter $fallback declared before required parameter $model is implicitly treated as a required parameter
Unit tests - PHP 8.3: src/Toolkit/Str.php#L265
Optional parameter $string declared before required parameter $end is implicitly treated as a required parameter
Unit tests - PHP 8.3: src/Toolkit/Str.php#L297
Optional parameter $string declared before required parameter $needle is implicitly treated as a required parameter
Unit tests - PHP 8.3: src/Toolkit/Str.php#L416
Optional parameter $string declared before required parameter $needle is implicitly treated as a required parameter
Unit tests - PHP 8.3: src/Toolkit/Str.php#L709
Optional parameter $string declared before required parameter $needle is implicitly treated as a required parameter
Unit tests - PHP 8.3: src/Toolkit/Str.php#L1232
Optional parameter $string declared before required parameter $needle is implicitly treated as a required parameter