change year from 2024 to 2025 #1284
Annotations
4 warnings
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
composer test:
src/Repository/PetRepository.php#L46
Escaped Mutant for Mutator "CloneRemoval":
@@ @@
$queryBuilder->andWhere($queryBuilder->expr()->like('p.name', ':name'));
$queryBuilder->setParameter('name', '%' . $filters['name'] . '%');
}
- $countQueryBuilder = clone $queryBuilder;
+ $countQueryBuilder = $queryBuilder;
$countQueryBuilder->select($queryBuilder->expr()->count('p.id'));
$petCollection->setCount((int) $countQueryBuilder->getQuery()->getSingleScalarResult());
$itemsQueryBuilder = clone $queryBuilder;
|
composer test:
src/Repository/PetRepository.php#L51
Escaped Mutant for Mutator "CloneRemoval":
@@ @@
$countQueryBuilder = clone $queryBuilder;
$countQueryBuilder->select($queryBuilder->expr()->count('p.id'));
$petCollection->setCount((int) $countQueryBuilder->getQuery()->getSingleScalarResult());
- $itemsQueryBuilder = clone $queryBuilder;
+ $itemsQueryBuilder = $queryBuilder;
foreach ($petCollection->getSort() as $field => $order) {
$itemsQueryBuilder->addOrderBy(\sprintf('p.%s', $field), $order);
}
|
composer test:
src/ServiceFactory/Framework/RouteCollectorFactory.php#L22
Escaped Mutant for Mutator "TrueValue":
@@ @@
{
public function __invoke(ContainerInterface $container): RouteCollectorInterface
{
- return new RouteCollector($container->get(ResponseFactoryInterface::class), $container->get(CallableResolverInterface::class), $container, new RequestHandler(true), null, $container->get('config')['fastroute']['cache']);
+ return new RouteCollector($container->get(ResponseFactoryInterface::class), $container->get(CallableResolverInterface::class), $container, new RequestHandler(false), null, $container->get('config')['fastroute']['cache']);
}
}
|
Loading