Skip to content

Set php 8.3 as min #1809

Set php 8.3 as min

Set php 8.3 as min #1809

Triggered via pull request January 15, 2025 11:26
Status Cancelled
Total duration 1m 23s
Artifacts 2

static-analysis.yml

on: pull_request
setup-matrix
5s
setup-matrix
Matrix: static-analysis
Fit to window
Zoom out
Zoom in

Annotations

31 errors and 3 warnings
static-analysis (8.4, highest, false) / Static analysis with phpstan: src/Controller/Admin/Asset/AssetController.php#L1451
Instanceof between Pimcore\Model\Asset\Document and Pimcore\Model\Asset\Document will always evaluate to true.
static-analysis (8.4, highest, false) / Static analysis with phpstan: src/Controller/Admin/Asset/AssetController.php#L2224
Call to function method_exists() with Pimcore\Model\Asset and 'clearThumbnails' will always evaluate to true.
static-analysis (8.4, highest, false) / Static analysis with phpstan: src/Controller/Admin/DataObject/ClassController.php#L1749
Call to function is_array() with array will always evaluate to true.
static-analysis (8.4, highest, false) / Static analysis with phpstan: src/Controller/Admin/DataObject/ClassificationstoreController.php#L942
Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, 'intval' given.
static-analysis (8.4, highest, false) / Static analysis with phpstan: src/Controller/Admin/DataObject/DataObjectController.php#L352
Call to an undefined method Pimcore\Model\DataObject\Concrete::getDate().
static-analysis (8.4, highest, false) / Static analysis with phpstan: src/Controller/Admin/DataObject/DataObjectController.php#L355
Call to an undefined method Pimcore\Model\DataObject\Concrete::getDate().
static-analysis (8.4, highest, false) / Static analysis with phpstan: src/Controller/Admin/DataObject/DataObjectController.php#L356
Call to an undefined method Pimcore\Model\DataObject\Concrete::isAutoSave().
static-analysis (8.4, highest, false) / Static analysis with phpstan: src/Controller/Admin/DataObject/DataObjectController.php#L380
Instanceof between Pimcore\Model\DataObject\Concrete and Pimcore\Model\DataObject\Concrete will always evaluate to true.
static-analysis (8.3, lowest, false) / Static analysis with phpstan: src/Controller/Admin/Asset/AssetController.php#L1451
Instanceof between Pimcore\Model\Asset\Document and Pimcore\Model\Asset\Document will always evaluate to true.
static-analysis (8.3, lowest, false) / Static analysis with phpstan: src/Controller/Admin/Asset/AssetController.php#L2224
Call to function method_exists() with Pimcore\Model\Asset and 'clearThumbnails' will always evaluate to true.
static-analysis (8.3, lowest, false) / Static analysis with phpstan: src/Controller/Admin/DataObject/ClassController.php#L1749
Call to function is_array() with array will always evaluate to true.
static-analysis (8.3, lowest, false) / Static analysis with phpstan: src/Controller/Admin/DataObject/ClassificationstoreController.php#L942
Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, 'intval' given.
static-analysis (8.3, lowest, false) / Static analysis with phpstan: src/Controller/Admin/DataObject/DataObjectController.php#L352
Call to an undefined method Pimcore\Model\DataObject\Concrete::getDate().
static-analysis (8.3, lowest, false) / Static analysis with phpstan: src/Controller/Admin/DataObject/DataObjectController.php#L355
Call to an undefined method Pimcore\Model\DataObject\Concrete::getDate().
static-analysis (8.3, lowest, false) / Static analysis with phpstan: src/Controller/Admin/DataObject/DataObjectController.php#L356
Call to an undefined method Pimcore\Model\DataObject\Concrete::isAutoSave().
static-analysis (8.3, lowest, false) / Static analysis with phpstan: src/Controller/Admin/DataObject/DataObjectController.php#L380
Instanceof between Pimcore\Model\DataObject\Concrete and Pimcore\Model\DataObject\Concrete will always evaluate to true.
static-analysis (8.4, highest, 12.x-dev as 12.99.9, true) / Static analysis with phpstan
FailFast: cancelling since parallel instance has failed
static-analysis (8.4, highest, 12.x-dev as 12.99.9, true) / Static analysis with phpstan: src/Controller/Admin/Asset/AssetController.php#L1451
Instanceof between Pimcore\Model\Asset\Document and Pimcore\Model\Asset\Document will always evaluate to true.
static-analysis (8.4, highest, 12.x-dev as 12.99.9, true) / Static analysis with phpstan: src/Controller/Admin/Asset/AssetController.php#L2224
Call to function method_exists() with Pimcore\Model\Asset and 'clearThumbnails' will always evaluate to true.
static-analysis (8.4, highest, 12.x-dev as 12.99.9, true) / Static analysis with phpstan: src/Controller/Admin/DataObject/ClassificationstoreController.php#L942
Parameter #2 $callback of function array_filter expects (callable(mixed): bool)|null, 'intval' given.
static-analysis (8.4, highest, 12.x-dev as 12.99.9, true) / Static analysis with phpstan: src/Controller/Admin/DataObject/DataObjectController.php#L380
Instanceof between Pimcore\Model\DataObject\Concrete and Pimcore\Model\DataObject\Concrete will always evaluate to true.
setup-matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
static-analysis (8.4, highest, false) / Static analysis with phpstan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
static-analysis (8.3, lowest, false) / Static analysis with phpstan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
phpstan-baseline-8.3-.neon
1.96 KB
phpstan-baseline-8.4-.neon
1.96 KB