Skip to content

[Bug]: Error using "As input quantity value" mapper #607

[Bug]: Error using "As input quantity value" mapper

[Bug]: Error using "As input quantity value" mapper #607

Triggered via pull request July 26, 2023 08:01
Status Failure
Total duration 1m 25s
Artifacts

static-analysis.yml

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

Annotations

5 errors and 3 warnings
Static Analysis with PHPStan (8.0, lowest, false): src/Mapping/Operator/Factory/InputQuantityValue.php#L29
Return type (Pimcore\Model\DataObject\Data\InputQuantityValue) of method Pimcore\Bundle\DataImporterBundle\Mapping\Operator\Factory\InputQuantityValue::process() should be compatible with return type (Pimcore\Model\DataObject\Data\QuantityValue|null) of method Pimcore\Bundle\DataImporterBundle\Mapping\Operator\Factory\QuantityValue::process()
Static Analysis with PHPStan (8.0, lowest, false): src/Mapping/Operator/Factory/InputQuantityValue.php#L31
Call to static method getByAbbreviation() on an unknown class Pimcore\Bundle\DataImporterBundle\Mapping\Operator\Factory\Unit.
Static Analysis with PHPStan (8.0, lowest, false)
Process completed with exit code 1.
Static Analysis with PHPStan (8.1, highest, true)
The operation was canceled.
Static Analysis with PHPStan (8.2, highest, true)
The operation was canceled.
Static Analysis with PHPStan (8.0, lowest, false)
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.1, 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.2, 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/