Skip to content

Set php 8.3 as min #1808

Set php 8.3 as min

Set php 8.3 as min #1808

Re-run triggered January 15, 2025 11:16
Status Cancelled
Total duration 1m 40s
Artifacts 1

static-analysis.yml

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

Annotations

32 errors and 2 warnings
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/Asset/AssetHelperController.php#L81
Call to function is_array() with array<Pimcore\Bundle\AdminBundle\Model\GridConfig> will always evaluate to true.
static-analysis (8.3, lowest, false) / Static analysis with phpstan: src/Controller/Admin/Asset/AssetHelperController.php#L117
Call to function is_array() with array<Pimcore\Bundle\AdminBundle\Model\GridConfig> 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#L236
Call to function is_array() with list<array<string, mixed>> 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.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/Asset/AssetHelperController.php#L81
Call to function is_array() with array<Pimcore\Bundle\AdminBundle\Model\GridConfig> 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/AssetHelperController.php#L117
Call to function is_array() with array<Pimcore\Bundle\AdminBundle\Model\GridConfig> 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#L236
Call to function is_array() with list<array<string, mixed>> 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, false) / Static analysis with phpstan
FailFast: cancelling since parallel instance has failed
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/Asset/AssetHelperController.php#L81
Call to function is_array() with array<Pimcore\Bundle\AdminBundle\Model\GridConfig> will always evaluate to true.
static-analysis (8.4, highest, false) / Static analysis with phpstan: src/Controller/Admin/Asset/AssetHelperController.php#L117
Call to function is_array() with array<Pimcore\Bundle\AdminBundle\Model\GridConfig> 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#L236
Call to function is_array() with list<array<string, mixed>> 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().
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.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-.neon
2.2 KB