Skip to content

Add test setup for content bundle integration #1139

Add test setup for content bundle integration

Add test setup for content bundle integration #1139

Triggered via pull request August 8, 2024 14:00
Status Failure
Total duration 1m 9s
Artifacts

test-application.yaml

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

Annotations

11 errors and 5 warnings
PHP Lint: src/Domain/Model/ArticleDimensionContent.php#L53
Property Sulu\Article\Domain\Model\ArticleDimensionContent::$article type mapping mismatch: property can contain Sulu\Article\Domain\Model\ArticleInterface but database expects Sulu\Article\Domain\Model\Article.
PHP Lint: src/Infrastructure/Doctrine/Repository/ArticleRepository.php#L161
Argument of an invalid type mixed supplied for foreach, only iterables are supported.
PHP Lint: src/Infrastructure/Doctrine/Repository/ArticleRepository.php#L268
Strict comparison using === between 'created' and 'title' will always evaluate to false.
PHP Lint: src/Infrastructure/Sulu/Content/ArticleDataProvider.php#L68
Parameter #2 $value of class Sulu\Component\Content\Compat\PropertyParameter constructor expects array|bool|string, null given.
PHP Lint: src/Infrastructure/Sulu/Content/ArticleDataProvider.php#L75
Parameter #3 $locale of method Sulu\Article\Infrastructure\Sulu\Content\ArticleDataProvider::resolveFilters() expects string, mixed given.
PHP Lint: src/Infrastructure/Sulu/Content/ArticleDataProvider.php#L88
Parameter $filters of method Sulu\Article\Domain\Repository\ArticleRepositoryInterface::findBy() expects array{uuid?: string, uuids?: array<string>, locale?: string, stage?: string, categoryIds?: array<int>, categoryKeys?: array<string>, categoryOperator?: 'AND'|'OR', tagIds?: array<int>, ...}, array{locale: mixed, stage: 'draft'|'live', uuids: iterable<string>} given.
PHP Lint: src/Infrastructure/Sulu/Content/ArticleDataProvider.php#L103
Parameter #1 $items of class Sulu\Component\SmartContent\DataProviderResult constructor expects array<Sulu\Component\SmartContent\ResourceItemInterface>, array<int<0, max>, array<string, string|null>> given.
PHP Lint: src/Infrastructure/Sulu/Content/ArticleDataProvider.php#L108
Parameter #3 $locale of method Sulu\Article\Infrastructure\Sulu\Content\ArticleDataProvider::resolveFilters() expects string, mixed given.
PHP Lint: src/Infrastructure/Sulu/Content/ArticleDataProvider.php#L121
Parameter $filters of method Sulu\Article\Domain\Repository\ArticleRepositoryInterface::findBy() expects array{uuid?: string, uuids?: array<string>, locale?: string, stage?: string, categoryIds?: array<int>, categoryKeys?: array<string>, categoryOperator?: 'AND'|'OR', tagIds?: array<int>, ...}, array{locale: mixed, stage: 'draft'|'live', uuids: iterable<string>} given.
PHP Lint: src/Infrastructure/Sulu/Content/ArticleDataProvider.php#L134
Parameter #1 $items of class Sulu\Component\SmartContent\DataProviderResult constructor expects array<Sulu\Component\SmartContent\ResourceItemInterface>, array<int<0, max>, array> given.
PHP 8.2 (lowest, Coverage )
Process completed with exit code 255.
PHP Lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 8.2 (lowest, Coverage )
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 8.2 (highest, Coverage )
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 8.3 (highest, Coverage )
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 8.4 (highest, Coverage )
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/