Skip to content

[Improvement]: Make As Numeric operator return nullable #1001

[Improvement]: Make As Numeric operator return nullable

[Improvement]: Make As Numeric operator return nullable #1001

Triggered via pull request October 31, 2024 09:42
Status Failure
Total duration 59s
Artifacts

static-analysis.yml

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

Annotations

6 errors and 2 warnings
Static Analysis with PHPStan (8.3, highest, true): src/Mapping/Operator/Factory/Numeric.php#L39
Method Pimcore\Bundle\DataImporterBundle\Mapping\Operator\Factory\Numeric::process() should return float but returns null.
Static Analysis with PHPStan (8.3, highest, true)
Process completed with exit code 1.
Static Analysis with PHPStan (8.3, highest, 11.x-dev as 11.0.0, true, true)
The job was canceled because "_8_3_highest_true" failed.
Static Analysis with PHPStan (8.3, highest, 11.x-dev as 11.0.0, true, true): src/Mapping/Operator/Factory/Numeric.php#L39
Method Pimcore\Bundle\DataImporterBundle\Mapping\Operator\Factory\Numeric::process() should return float but returns null.
Static Analysis with PHPStan (8.0, lowest, false)
The job was canceled because "_8_3_highest_true" failed.
Static Analysis with PHPStan (8.3, highest, true)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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.3, highest, true)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, 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/