Replace ContentBundleLinkProvider with own ArticleLinkProvider #1164
test-application.yaml
on: pull_request
PHP Lint
25s
Matrix: test
Annotations
10 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 #4 $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 #4 $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 Lint
The following actions use a deprecated Node.js version 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 use a deprecated Node.js version 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 use a deprecated Node.js version 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 use a deprecated Node.js version 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 use a deprecated Node.js version 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/
|