Update README.md #18
ci_pipe.yml
on: push
Annotations
13 warnings
Mutation Tests | PHP 8.2:
src/Content/Cms/DataResolver/SasCmsSlotsDataResolver.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/SasCmsSlotsDataResolver.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/SasCmsSlotsDataResolver.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/SasCmsSlotsDataResolver.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/SasCmsSlotsDataResolver.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/SasCmsSlotsDataResolver.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) {
|
E2E Tests | Shopware 6.6.0.0, PHP 8.2
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
E2E Tests | Shopware 6.6.0.0, PHP 8.2
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "cypress_results_sw_v6.6.0.0".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
cypress_results_sw_v6.6.0.0
Expired
|
2.18 MB |
|