Skip to content

Merge branch 'feature/paginated-sitemaps/v5' into develop-v5 #273

Merge branch 'feature/paginated-sitemaps/v5' into develop-v5

Merge branch 'feature/paginated-sitemaps/v5' into develop-v5 #273

Triggered via push July 19, 2024 02:06
Status Failure
Total duration 10m 41s
Artifacts
Matrix: code_analysis
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Coding Standards
Process completed with exit code 1.
PHPStan: src/gql/resolvers/SitemapResolver.php#L174
PHPDoc tag @return with type string is incompatible with native type array.
PHPStan: src/gql/resolvers/SitemapResolver.php#L187
Parameter #1 $seoElementClass of static method nystudio107\seomatic\helpers\Sitemap::getTotalElementsInSitemap() expects string, nystudio107\seomatic\base\SeoElementInterface|null given.
PHPStan: src/gql/resolvers/SitemapResolver.php#L188
Variable $pageSize in empty() always exists and is not falsy.
PHPStan: src/models/SitemapIndexTemplate.php#L195
Parameter #1 $seoElementClass of static method nystudio107\seomatic\helpers\Sitemap::getTotalElementsInSitemap() expects string, nystudio107\seomatic\base\SeoElementInterface given.
PHPStan
Process completed with exit code 1.