Replace ContentBundleLinkProvider with own ArticleLinkProvider #1166
Annotations
5 errors and 1 warning
Lint code:
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.
|
Lint code:
src/Infrastructure/Sulu/Content/ArticleDataProvider.php#L107
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.
|
Lint code:
src/Infrastructure/Sulu/Content/ArticleDataProvider.php#L142
Parameter #1 $items of class Sulu\Component\SmartContent\DataProviderResult constructor expects array<Sulu\Component\SmartContent\ResourceItemInterface>, array<int<0, max>, array> given.
|
Lint code:
src/Infrastructure/Sulu/Content/ArticleDataProvider.php#L199
Method Sulu\Article\Infrastructure\Sulu\Content\ArticleDataProvider::resolveFilters() should return array{array{locale: string, categoryIds?: array<int>, categoryOperator?: 'AND'|'OR', tagIds?: array<int>, tagOperator?: 'AND'|'OR', limit?: int, page: int}, array<string, 'asc'|'desc'>} but returns array{array{locale: string, categoryIds?: array<int>, categoryOperator?: 'AND'|'OR', tagIds?: array<string>, tagOperator?: 'AND'|'OR', limit?: int, page: int}, array<string, 'asc'|'desc'>}.
|
Lint code
Process completed with exit code 1.
|
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/
|
Loading