Skip to content

CI

CI #1180

Triggered via schedule September 30, 2024 01:22
Status Success
Total duration 1m 42s
Artifacts

ci.yml

on: schedule
docker-compose (production container)
1m 20s
docker-compose (production container)
PHP 8.1
58s
PHP 8.1
PHP 8.2
58s
PHP 8.2
PHP 8.3
1m 33s
PHP 8.3
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
PHP 8.1: src/Repository/PetRepository.php#L46
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ $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;
PHP 8.1: src/Repository/PetRepository.php#L51
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ $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); }
PHP 8.2: src/Repository/PetRepository.php#L46
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ $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;
PHP 8.2: src/Repository/PetRepository.php#L51
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ $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); }
PHP 8.3: src/Repository/PetRepository.php#L46
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ $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;
PHP 8.3: src/Repository/PetRepository.php#L51
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ $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); }