Skip to content

fix badge url

fix badge url #1124

Triggered via push August 10, 2024 20:09
Status Failure
Total duration 1m 37s
Artifacts

ci.yml

on: push
docker-compose (production container)
1m 29s
docker-compose (production container)
PHP 8.1
59s
PHP 8.1
PHP 8.2
59s
PHP 8.2
PHP 8.3
1m 1s
PHP 8.3
Fit to window
Zoom out
Zoom in

Annotations

9 warnings
PHP 8.1: src/Repository/PetRepository.php#L45
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ if (isset($filters['name'])) { $queryBuilder->field('name')->text($filters['name']); } - $countQueryBuilder = clone $queryBuilder; + $countQueryBuilder = $queryBuilder; $countQueryBuilder->count(); $petCollection->setCount($countQueryBuilder->getQuery()->execute()); $itemsQueryBuilder = clone $queryBuilder;
PHP 8.1: src/Repository/PetRepository.php#L50
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ $countQueryBuilder = clone $queryBuilder; $countQueryBuilder->count(); $petCollection->setCount($countQueryBuilder->getQuery()->execute()); - $itemsQueryBuilder = clone $queryBuilder; + $itemsQueryBuilder = $queryBuilder; foreach ($petCollection->getSort() as $field => $order) { if (!$order) { continue;
PHP 8.1: src/Repository/PetRepository.php#L54
Escaped Mutant for Mutator "Continue_": --- Original +++ New @@ @@ $itemsQueryBuilder = clone $queryBuilder; foreach ($petCollection->getSort() as $field => $order) { if (!$order) { - continue; + break; } $itemsQueryBuilder->sort($field, $order); }
PHP 8.2: src/Repository/PetRepository.php#L45
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ if (isset($filters['name'])) { $queryBuilder->field('name')->text($filters['name']); } - $countQueryBuilder = clone $queryBuilder; + $countQueryBuilder = $queryBuilder; $countQueryBuilder->count(); $petCollection->setCount($countQueryBuilder->getQuery()->execute()); $itemsQueryBuilder = clone $queryBuilder;
PHP 8.2: src/Repository/PetRepository.php#L50
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ $countQueryBuilder = clone $queryBuilder; $countQueryBuilder->count(); $petCollection->setCount($countQueryBuilder->getQuery()->execute()); - $itemsQueryBuilder = clone $queryBuilder; + $itemsQueryBuilder = $queryBuilder; foreach ($petCollection->getSort() as $field => $order) { if (!$order) { continue;
PHP 8.2: src/Repository/PetRepository.php#L54
Escaped Mutant for Mutator "Continue_": --- Original +++ New @@ @@ $itemsQueryBuilder = clone $queryBuilder; foreach ($petCollection->getSort() as $field => $order) { if (!$order) { - continue; + break; } $itemsQueryBuilder->sort($field, $order); }
PHP 8.3: src/Repository/PetRepository.php#L45
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ if (isset($filters['name'])) { $queryBuilder->field('name')->text($filters['name']); } - $countQueryBuilder = clone $queryBuilder; + $countQueryBuilder = $queryBuilder; $countQueryBuilder->count(); $petCollection->setCount($countQueryBuilder->getQuery()->execute()); $itemsQueryBuilder = clone $queryBuilder;
PHP 8.3: src/Repository/PetRepository.php#L50
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ $countQueryBuilder = clone $queryBuilder; $countQueryBuilder->count(); $petCollection->setCount($countQueryBuilder->getQuery()->execute()); - $itemsQueryBuilder = clone $queryBuilder; + $itemsQueryBuilder = $queryBuilder; foreach ($petCollection->getSort() as $field => $order) { if (!$order) { continue;
PHP 8.3: src/Repository/PetRepository.php#L54
Escaped Mutant for Mutator "Continue_": --- Original +++ New @@ @@ $itemsQueryBuilder = clone $queryBuilder; foreach ($petCollection->getSort() as $field => $order) { if (!$order) { - continue; + break; } $itemsQueryBuilder->sort($field, $order); }