Skip to content

Add services to search for all elements and their dependencies #741

Add services to search for all elements and their dependencies

Add services to search for all elements and their dependencies #741

Triggered via pull request May 24, 2024 12:17
Status Failure
Total duration 1m 12s
Artifacts 1

static-analysis.yaml

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.2, highest, 11.x-dev as 11.99.9, true): src/Model/Search/Element/SearchResult/ElementSearchResult.php#L64
Parameter #1 $callback of function array_map expects (callable(Pimcore\Bundle\GenericDataIndexBundle\Model\Search\Interfaces\ElementSearchResultItemInterface): mixed)|null, Closure(Pimcore\Bundle\GenericDataIndexBundle\Model\Search\Document\SearchResult\DocumentSearchResultItem): int given.
Static Analysis with PHPStan (8.2, highest, 11.x-dev as 11.99.9, true)
Process completed with exit code 1.
Static Analysis with PHPStan (8.2, lowest, false)
The job was canceled because "_8_2_highest_11_x-dev_as_" failed.
Static Analysis with PHPStan (8.2, lowest, false): src/Model/Search/Element/SearchResult/ElementSearchResult.php#L64
Parameter #1 $callback of function array_map expects (callable(Pimcore\Bundle\GenericDataIndexBundle\Model\Search\Interfaces\ElementSearchResultItemInterface): mixed)|null, Closure(Pimcore\Bundle\GenericDataIndexBundle\Model\Search\Document\SearchResult\DocumentSearchResultItem): int given.
Static Analysis with PHPStan (8.2, lowest, false)
The operation was canceled.
Static Analysis with PHPStan (8.2, highest, 11.x-dev as 11.99.9, true)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static Analysis with PHPStan (8.2, highest, 11.x-dev as 11.99.9, true)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "phpstan-baseline.neon". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
phpstan-baseline.neon Expired
486 Bytes