fix: rebuild admin-js #58
ci_pipe.yml
on: push
Annotations
16 warnings
PHP Syntax Checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ESLint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit Tests | PHP 8.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Mutation Tests | PHP 8.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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) {
|
PHP CS Fixer
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Integration Tests | Shopware 6.6.0.0
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|