Skip to content

refactor: ECS code cleanup #280

refactor: ECS code cleanup

refactor: ECS code cleanup #280

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

Annotations

6 errors
PHPStan: src/gql/resolvers/SitemapResolver.php#L173
PHPDoc tag @return with type string is incompatible with native type array.
PHPStan: src/gql/resolvers/SitemapResolver.php#L186
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#L187
Variable $pageSize in empty() always exists and is not falsy.
PHPStan: src/helpers/Field.php#L64
Class besteadfast\preparsefield\fields\PreparseFieldType not found.
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.