Skip to content

Replace Request::get with explicit input sources #155

Replace Request::get with explicit input sources

Replace Request::get with explicit input sources #155

Triggered via pull request August 26, 2024 14:28
Status Failure
Total duration 45s
Artifacts 1

static-analysis.yml

on: pull_request
Matrix: Static Analysis with PHPStan
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 3 warnings
Static Analysis with PHPStan (8.2, highest, 11.x-dev as 11.99.9, true): src/Controller/AdminController.php#L220
Parameter #1 $id of static method Pimcore\Model\DataObject\ClassDefinition::getById() expects string, int given.
Static Analysis with PHPStan (8.2, highest, 11.x-dev as 11.99.9, true)
Process completed with exit code 1.
Static Analysis with PHPStan (8.1, lowest, false)
The job was canceled because "_8_2_highest_11_x-dev_as_" failed.
Static Analysis with PHPStan (8.1, lowest, false): src/Controller/AdminController.php#L220
Parameter #1 $id of static method Pimcore\Model\DataObject\ClassDefinition::getById() expects string, int given.
Static Analysis with PHPStan (8.1, lowest, false)
Process completed with exit code 1.
Static Analysis with PHPStan (8.2, highest, false)
The job was canceled because "_8_2_highest_11_x-dev_as_" failed.
Static Analysis with PHPStan (8.2, highest, false)
The operation was canceled.
Static Analysis with PHPStan (8.2, highest, false): src/Controller/AdminController.php#L220
Parameter #1 $id of static method Pimcore\Model\DataObject\ClassDefinition::getById() expects string, int given.
Static Analysis with PHPStan (8.2, highest, false)
Process completed with exit code 1.
Static Analysis with PHPStan (8.2, highest, 11.x-dev as 11.99.9, true)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Static Analysis with PHPStan (8.2, highest, 11.x-dev as 11.99.9, true)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v3, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "phpstan-baseline.neon". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
phpstan-baseline.neon Expired
241 Bytes