Skip to content

Add support for doctrine/persistence 3.0 #431

Add support for doctrine/persistence 3.0

Add support for doctrine/persistence 3.0 #431

Triggered via pull request May 16, 2024 08:52
Status Failure
Total duration 1m 16s
Artifacts

test-application.yaml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 14 warnings
PHP Lint: Content/Application/ContentMerger/ContentMerger.php#L72
Method Sulu\Bundle\ContentBundle\Content\Application\ContentMerger\ContentMerger::merge() should return T of Sulu\Bundle\ContentBundle\Content\Domain\Model\DimensionContentInterface but returns Sulu\Bundle\ContentBundle\Content\Domain\Model\DimensionContentInterface|null.
PHP Lint: Content/Domain/Model/TemplateTrait.php (in context of class Sulu/Bundle/ContentBundle/Tests/Application/ExampleTestBundle/Entity/ExampleDimensionContent)#L46
Method Sulu\Bundle\ContentBundle\Tests\Application\ExampleTestBundle\Entity\ExampleDimensionContent::parentSetTemplateData() has parameter $templateData with no value type specified in iterable type array.
PHP Lint: Content/Infrastructure/Sulu/Link/ContentLinkProvider.php#L111
Method Sulu\Bundle\ContentBundle\Content\Infrastructure\Sulu\Link\ContentLinkProvider::getTitle() should return string|null but returns mixed.
PHP Lint: Content/Infrastructure/Sulu/Sitemap/ContentSitemapProvider.php#L171
Binary operation "/" between bool|float|int|string|null and int results in an error.
PHP Lint: Content/Infrastructure/Sulu/Teaser/ContentTeaserProvider.php#L175
Method Sulu\Bundle\ContentBundle\Content\Infrastructure\Sulu\Teaser\ContentTeaserProvider::getTitle() should return string|null but returns mixed.
PHP Lint: Tests/Application/ExampleTestBundle/Repository/ExampleRepository.php#L188
No error to ignore is reported on line 188.
PHP Lint: Tests/Functional/Content/Infrastructure/Sulu/Sitemap/ContentSitemapProviderTest.php#L181
Method Sulu\Bundle\ContentBundle\Tests\Functional\Content\Infrastructure\Sulu\Sitemap\ContentSitemapProviderTest::mapSitemapEntries() should return array<string, mixed> but returns array<int, array<string, array<array<string, string>>|string|null>>.
PHP Lint: Tests/Functional/Content/Infrastructure/Sulu/SmartContent/ContentDataProviderTest.php#L317
Parameter #1 $filters of method Sulu\Component\SmartContent\Orm\BaseDataProvider::resolveDataItems() expects array{dataSource?: int|string|null, sortMethod?: 'asc'|'desc', sortBy?: string, tags?: array<string>, tagOperator?: 'and'|'or', types?: array<string>, categories?: array<int>, categoryOperator?: 'and'|'or', ...}, array given.
PHP Lint: Tests/Unit/Content/Application/ContentDataMapper/DataMapper/WebspaceDataMapperTest.php#L93
Parameter #1 $webspaces of method Sulu\Component\Webspace\Manager\WebspaceCollection::setWebspaces() expects array<string, Sulu\Component\Webspace\Webspace>, array<int, Sulu\Component\Webspace\Webspace> given.
PHP Lint: Tests/Unit/Content/Infrastructure/Sulu/Page/Select/WebspaceSelectTest.php#L51
Parameter #1 $webspaces of class Sulu\Component\Webspace\Manager\WebspaceCollection constructor expects array<string, Sulu\Component\Webspace\Webspace>, array<int, Sulu\Component\Webspace\Webspace> given.
PHP 8.0 (highest, Coverage false)
Process completed with exit code 1.
PHP Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP Lint
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/
PHP 8.0 (highest, Coverage false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.0 (highest, Coverage 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/
PHP 8.3 (highest, Coverage false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.3 (highest, Coverage 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/
PHP 7.3 (lowest, Coverage false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.3 (lowest, Coverage 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/
PHP 8.1 (highest, Coverage true)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.1 (highest, Coverage 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/
PHP 7.4 (highest, Coverage false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.4 (highest, Coverage 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/
PHP 8.2 (highest, Coverage false)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.2 (highest, Coverage 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/