Skip to content

breaking 4.0.0 internal name change #37

breaking 4.0.0 internal name change

breaking 4.0.0 internal name change #37

Triggered via push September 15, 2024 06:39
Status Success
Total duration 5m 6s
Artifacts

ci_pipe.yml

on: push
PHP Syntax Checks
16s
PHP Syntax Checks
Matrix: integration
Matrix: phpunit
Matrix: infection
PHP CS Fixer
26s
PHP CS Fixer
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Mutation Tests | PHP 8.2: src/Content/Cms/DataResolver/WerklCmsSlotsDataResolver.php#L49
Escaped Mutant for Mutator "InstanceOf_": @@ @@ $slots = $this->decorated->resolve($slots, $resolverContext); foreach ($slots as $slotId => $slot) { $resolver = $this->resolvers[$slot->getType()] ?? null; - if (!$resolver instanceof BlogDetailCmsElementResolver) { + if (!true) { continue; } $blog = $slot->getData();
Mutation Tests | PHP 8.2: src/Content/Cms/DataResolver/WerklCmsSlotsDataResolver.php#L50
Escaped Mutant for Mutator "Continue_": @@ @@ foreach ($slots as $slotId => $slot) { $resolver = $this->resolvers[$slot->getType()] ?? null; if (!$resolver instanceof BlogDetailCmsElementResolver) { - continue; + break; } $blog = $slot->getData(); if (!$blog instanceof BlogEntriesEntity) {
Mutation Tests | PHP 8.2: src/Content/Cms/DataResolver/WerklCmsSlotsDataResolver.php#L55
Escaped Mutant for Mutator "Continue_": @@ @@ } $blog = $slot->getData(); if (!$blog instanceof BlogEntriesEntity) { - continue; + break; } $cmsPage = $blog->getCmsPage(); if (!$cmsPage instanceof CmsPageEntity) {
Mutation Tests | PHP 8.2: src/Content/Cms/DataResolver/WerklCmsSlotsDataResolver.php#L60
Escaped Mutant for Mutator "Continue_": @@ @@ } $cmsPage = $blog->getCmsPage(); if (!$cmsPage instanceof CmsPageEntity) { - continue; + break; } $cmsSections = $cmsPage->getSections(); if (!$cmsSections instanceof CmsSectionCollection) {
Mutation Tests | PHP 8.2: src/Content/Cms/DataResolver/WerklCmsSlotsDataResolver.php#L65
Escaped Mutant for Mutator "Continue_": @@ @@ } $cmsSections = $cmsPage->getSections(); if (!$cmsSections instanceof CmsSectionCollection) { - continue; + break; } $contentSlots = $cmsSections->getBlocks()->getSlots(); $contentSlots = $this->decorated->resolve($contentSlots, $resolverContext);
Mutation Tests | PHP 8.2: src/Content/Cms/DataResolver/WerklCmsSlotsDataResolver.php#L74
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ $contentSlots = $this->decorated->resolve($contentSlots, $resolverContext); $cmsSections->getBlocks()->setSlots($contentSlots); $slot->setData($blog); - $slots->set($slotId, $slot); + } return $slots; } }
Mutation Tests | PHP 8.2: src/Core/Content/Sitemap/Provider/BlogUrlProvider.php#L59
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ { $criteria = new Criteria(); $dateTime = new \DateTime(); - $criteria->setLimit($limit); + $criteria->setOffset($offset); $criteria->addFilter(new EqualsFilter('active', true), new RangeFilter('publishedAt', [RangeFilter::LTE => $dateTime->format(\DATE_ATOM)])); /** @var BlogEntriesCollection $blogEntities */
Mutation Tests | PHP 8.2: src/Core/Content/Sitemap/Provider/BlogUrlProvider.php#L60
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ $criteria = new Criteria(); $dateTime = new \DateTime(); $criteria->setLimit($limit); - $criteria->setOffset($offset); + $criteria->addFilter(new EqualsFilter('active', true), new RangeFilter('publishedAt', [RangeFilter::LTE => $dateTime->format(\DATE_ATOM)])); /** @var BlogEntriesCollection $blogEntities */ $blogEntities = $this->blogRepository->search($criteria, $context->getContext())->getEntities();
Mutation Tests | PHP 8.2: src/Core/Content/Sitemap/Provider/BlogUrlProvider.php#L62
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ $dateTime = new \DateTime(); $criteria->setLimit($limit); $criteria->setOffset($offset); - $criteria->addFilter(new EqualsFilter('active', true), new RangeFilter('publishedAt', [RangeFilter::LTE => $dateTime->format(\DATE_ATOM)])); + /** @var BlogEntriesCollection $blogEntities */ $blogEntities = $this->blogRepository->search($criteria, $context->getContext())->getEntities(); if ($blogEntities->count() === 0) {
Mutation Tests | PHP 8.2: src/Core/Content/Sitemap/Provider/BlogUrlProvider.php#L63
Escaped Mutant for Mutator "TrueValue": @@ @@ $dateTime = new \DateTime(); $criteria->setLimit($limit); $criteria->setOffset($offset); - $criteria->addFilter(new EqualsFilter('active', true), new RangeFilter('publishedAt', [RangeFilter::LTE => $dateTime->format(\DATE_ATOM)])); + $criteria->addFilter(new EqualsFilter('active', false), new RangeFilter('publishedAt', [RangeFilter::LTE => $dateTime->format(\DATE_ATOM)])); /** @var BlogEntriesCollection $blogEntities */ $blogEntities = $this->blogRepository->search($criteria, $context->getContext())->getEntities(); if ($blogEntities->count() === 0) {