Skip to content

[Improvement] Added PimcoreBundleAdminSupportInterface to bundle class #567

[Improvement] Added PimcoreBundleAdminSupportInterface to bundle class

[Improvement] Added PimcoreBundleAdminSupportInterface to bundle class #567

Re-run triggered April 3, 2023 09:42
Status Failure
Total duration 1m 51s
Artifacts 1

static-analysis.yml

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

Annotations

24 errors and 4 warnings
Static Analysis with PHPStan (8.2, highest): src/EventListener/AdminListener.php#L27
Parameter $event of method Pimcore\Bundle\DataHubBundle\EventListener\AdminListener::addIndexSettings() has invalid type Pimcore\Event\Admin\IndexActionSettingsEvent.
Static Analysis with PHPStan (8.2, highest): src/EventListener/AdminListener.php#L27
Parameter $event of method Pimcore\Bundle\DataHubBundle\EventListener\AdminListener::addIndexSettings() has invalid type Pimcore\Event\Admin\IndexActionSettingsEvent.
Static Analysis with PHPStan (8.2, highest): src/EventListener/AdminListener.php#L29
Call to method addSetting() on an unknown class Pimcore\Event\Admin\IndexActionSettingsEvent.
Static Analysis with PHPStan (8.2, highest): src/GraphQL/Query/Operator/AbstractOperator.php#L38
Property Pimcore\Bundle\DataHubBundle\GraphQL\Query\Operator\AbstractOperator::$children has unknown class Pimcore\DataObject\GridColumnConfig\ConfigElementInterface as its type.
Static Analysis with PHPStan (8.2, highest): src/GraphQL/Query/Operator/AbstractOperator.php#L54
Method Pimcore\Bundle\DataHubBundle\GraphQL\Query\Operator\AbstractOperator::getChildren() has invalid return type Pimcore\DataObject\GridColumnConfig\ConfigElementInterface.
Static Analysis with PHPStan (8.2, highest): src/GraphQL/Query/Operator/Thumbnail.php#L67
Parameter #1 $args of method Pimcore\Model\Asset\Image\Thumbnail::getPath() expects array, false given.
Static Analysis with PHPStan (8.2, highest): src/GraphQL/Service.php#L493
Parameter $nodeConfig of method Pimcore\Bundle\DataHubBundle\GraphQL\Service::buildValueResolverFromAttributes() has invalid type Pimcore\DataObject\GridColumnConfig\ConfigElementInterface.
Static Analysis with PHPStan (8.2, highest): src/GraphQL/Service.php#L495
Access to offset 'attributes' on an unknown class Pimcore\DataObject\GridColumnConfig\ConfigElementInterface.
Static Analysis with PHPStan (8.2, highest): src/GraphQL/Service.php#L496
Access to offset 'isOperator' on an unknown class Pimcore\DataObject\GridColumnConfig\ConfigElementInterface.
Static Analysis with PHPStan (8.2, highest)
Process completed with exit code 1.
Static Analysis with PHPStan (8.2, highest, 11.x-dev as 11.0.0, true)
The operation was canceled.
Static Analysis with PHPStan (8.1, highest): src/EventListener/AdminListener.php#L27
Parameter $event of method Pimcore\Bundle\DataHubBundle\EventListener\AdminListener::addIndexSettings() has invalid type Pimcore\Event\Admin\IndexActionSettingsEvent.
Static Analysis with PHPStan (8.1, highest): src/EventListener/AdminListener.php#L27
Parameter $event of method Pimcore\Bundle\DataHubBundle\EventListener\AdminListener::addIndexSettings() has invalid type Pimcore\Event\Admin\IndexActionSettingsEvent.
Static Analysis with PHPStan (8.1, highest): src/EventListener/AdminListener.php#L29
Call to method addSetting() on an unknown class Pimcore\Event\Admin\IndexActionSettingsEvent.
Static Analysis with PHPStan (8.1, highest): src/GraphQL/Query/Operator/AbstractOperator.php#L38
Property Pimcore\Bundle\DataHubBundle\GraphQL\Query\Operator\AbstractOperator::$children has unknown class Pimcore\DataObject\GridColumnConfig\ConfigElementInterface as its type.
Static Analysis with PHPStan (8.1, highest): src/GraphQL/Query/Operator/AbstractOperator.php#L54
Method Pimcore\Bundle\DataHubBundle\GraphQL\Query\Operator\AbstractOperator::getChildren() has invalid return type Pimcore\DataObject\GridColumnConfig\ConfigElementInterface.
Static Analysis with PHPStan (8.1, highest): src/GraphQL/Query/Operator/Thumbnail.php#L67
Parameter #1 $args of method Pimcore\Model\Asset\Image\Thumbnail::getPath() expects array, false given.
Static Analysis with PHPStan (8.1, highest): src/GraphQL/Service.php#L493
Parameter $nodeConfig of method Pimcore\Bundle\DataHubBundle\GraphQL\Service::buildValueResolverFromAttributes() has invalid type Pimcore\DataObject\GridColumnConfig\ConfigElementInterface.
Static Analysis with PHPStan (8.1, highest): src/GraphQL/Service.php#L495
Access to offset 'attributes' on an unknown class Pimcore\DataObject\GridColumnConfig\ConfigElementInterface.
Static Analysis with PHPStan (8.1, highest): src/GraphQL/Service.php#L496
Access to offset 'isOperator' on an unknown class Pimcore\DataObject\GridColumnConfig\ConfigElementInterface.
Static Analysis with PHPStan (8.1, highest)
The operation was canceled.
Static Analysis with PHPStan (8.0, lowest): src/PimcoreDataHubBundle.php#L27
Class Pimcore\Bundle\DataHubBundle\PimcoreDataHubBundle implements unknown interface Pimcore\Bundle\AdminBundle\Support\PimcoreBundleAdminSupportInterface.
Static Analysis with PHPStan (8.0, lowest): src/PimcoreDataHubBundle.php#L29
Class Pimcore\Bundle\DataHubBundle\PimcoreDataHubBundle uses unknown trait Pimcore\Bundle\AdminBundle\Support\BundleAdminSupportTrait.
Static Analysis with PHPStan (8.0, lowest)
The operation was canceled.
Static Analysis with PHPStan (8.2, highest)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Static Analysis with PHPStan (8.2, highest, 11.x-dev as 11.0.0, true)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Static Analysis with PHPStan (8.1, highest)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Static Analysis with PHPStan (8.0, lowest)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

Artifacts

Produced during runtime
Name Size
phpstan-baseline.neon Expired
16.3 KB