Skip to content

✨ Added the ability to set Iterations #41

✨ Added the ability to set Iterations

✨ Added the ability to set Iterations #41

Triggered via push September 30, 2023 19:14
Status Success
Total duration 5m 0s
Artifacts

php-test.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

66 warnings
build (ubuntu-latest, 8.1, xdebug)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (ubuntu-latest, 8.1, xdebug): src/TournamentGenerator/Containers/BaseContainer.php#L55
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ */ public static function fromArray(array $data) : BaseContainer { - $container = new self(0); + $container = new self(-1); $container->insertFlat(...$data); return $container; }
build (ubuntu-latest, 8.1, xdebug): src/TournamentGenerator/Containers/BaseContainer.php#L55
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ */ public static function fromArray(array $data) : BaseContainer { - $container = new self(0); + $container = new self(1); $container->insertFlat(...$data); return $container; }
build (ubuntu-latest, 8.1, xdebug): src/TournamentGenerator/Containers/BaseContainer.php#L90
Escaped Mutant for Mutator "GreaterThan": --- Original +++ New @@ @@ */ public function get() : array { - if (count($this->children) > 0) { + if (count($this->children) >= 0) { $values = [$this->values]; foreach ($this->children as $child) { $values[] = $child->get();
build (ubuntu-latest, 8.1, xdebug): src/TournamentGenerator/Containers/ContainerQuery.php#L199
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ public function whereId(int|string $id) : ContainerQuery { $this->filters[] = static function ($object) use($id) { - return $object instanceof WithId && $object->getId() === $id; + return true && $object->getId() === $id; }; return $this; }
build (ubuntu-latest, 8.1, xdebug): src/TournamentGenerator/Containers/ContainerQuery.php#L225
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ if (is_null($callback)) { $this->sortClosure = static function ($a, $b) { if ($a === $b) { - return 0; + return -1; } return $a < $b ? -1 : 1; };
build (ubuntu-latest, 8.1, xdebug): src/TournamentGenerator/Containers/ContainerQuery.php#L225
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ if (is_null($callback)) { $this->sortClosure = static function ($a, $b) { if ($a === $b) { - return 0; + return 1; } return $a < $b ? -1 : 1; };
build (ubuntu-latest, 8.1, xdebug): src/TournamentGenerator/Containers/ContainerQuery.php#L227
Escaped Mutant for Mutator "LessThan": --- Original +++ New @@ @@ if ($a === $b) { return 0; } - return $a < $b ? -1 : 1; + return $a <= $b ? -1 : 1; }; } else { $this->sortClosure = $callback;
build (ubuntu-latest, 8.1, xdebug): src/TournamentGenerator/Containers/ContainerQuery.php#L227
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ if ($a === $b) { return 0; } - return $a < $b ? -1 : 1; + return $a < $b ? -2 : 1; }; } else { $this->sortClosure = $callback;
build (ubuntu-latest, 8.1, xdebug): src/TournamentGenerator/Containers/ContainerQuery.php#L227
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ if ($a === $b) { return 0; } - return $a < $b ? -1 : 1; + return $a < $b ? -1 : 2; }; } else { $this->sortClosure = $callback;
build (ubuntu-latest, 8.1, xdebug): src/TournamentGenerator/Containers/ContainerQuery.php#L324
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } // Compare values if ($property1 === $property2) { - return 0; + return -1; } return $property1 < $property2 ? -1 : 1; } }
build (ubuntu-latest, 8.0, xdebug)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (ubuntu-latest, 8.0, xdebug): src/TournamentGenerator/Containers/BaseContainer.php#L55
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ */ public static function fromArray(array $data) : BaseContainer { - $container = new self(0); + $container = new self(-1); $container->insertFlat(...$data); return $container; }
build (ubuntu-latest, 8.0, xdebug): src/TournamentGenerator/Containers/BaseContainer.php#L55
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ */ public static function fromArray(array $data) : BaseContainer { - $container = new self(0); + $container = new self(1); $container->insertFlat(...$data); return $container; }
build (ubuntu-latest, 8.0, xdebug): src/TournamentGenerator/Containers/BaseContainer.php#L90
Escaped Mutant for Mutator "GreaterThan": --- Original +++ New @@ @@ */ public function get() : array { - if (count($this->children) > 0) { + if (count($this->children) >= 0) { $values = [$this->values]; foreach ($this->children as $child) { $values[] = $child->get();
build (ubuntu-latest, 8.0, xdebug): src/TournamentGenerator/Containers/ContainerQuery.php#L199
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ public function whereId(int|string $id) : ContainerQuery { $this->filters[] = static function ($object) use($id) { - return $object instanceof WithId && $object->getId() === $id; + return true && $object->getId() === $id; }; return $this; }
build (ubuntu-latest, 8.0, xdebug): src/TournamentGenerator/Containers/ContainerQuery.php#L225
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ if (is_null($callback)) { $this->sortClosure = static function ($a, $b) { if ($a === $b) { - return 0; + return -1; } return $a < $b ? -1 : 1; };
build (ubuntu-latest, 8.0, xdebug): src/TournamentGenerator/Containers/ContainerQuery.php#L225
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ if (is_null($callback)) { $this->sortClosure = static function ($a, $b) { if ($a === $b) { - return 0; + return 1; } return $a < $b ? -1 : 1; };
build (ubuntu-latest, 8.0, xdebug): src/TournamentGenerator/Containers/ContainerQuery.php#L227
Escaped Mutant for Mutator "LessThan": --- Original +++ New @@ @@ if ($a === $b) { return 0; } - return $a < $b ? -1 : 1; + return $a <= $b ? -1 : 1; }; } else { $this->sortClosure = $callback;
build (ubuntu-latest, 8.0, xdebug): src/TournamentGenerator/Containers/ContainerQuery.php#L227
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ if ($a === $b) { return 0; } - return $a < $b ? -1 : 1; + return $a < $b ? -2 : 1; }; } else { $this->sortClosure = $callback;
build (ubuntu-latest, 8.0, xdebug): src/TournamentGenerator/Containers/ContainerQuery.php#L227
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ if ($a === $b) { return 0; } - return $a < $b ? -1 : 1; + return $a < $b ? -1 : 2; }; } else { $this->sortClosure = $callback;
build (ubuntu-latest, 8.0, xdebug): src/TournamentGenerator/Containers/ContainerQuery.php#L324
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } // Compare values if ($property1 === $property2) { - return 0; + return -1; } return $property1 < $property2 ? -1 : 1; } }
build (ubuntu-latest, 8.0, pcov)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (ubuntu-latest, 8.0, pcov): src/TournamentGenerator/Containers/BaseContainer.php#L55
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ */ public static function fromArray(array $data) : BaseContainer { - $container = new self(0); + $container = new self(-1); $container->insertFlat(...$data); return $container; }
build (ubuntu-latest, 8.0, pcov): src/TournamentGenerator/Containers/BaseContainer.php#L55
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ */ public static function fromArray(array $data) : BaseContainer { - $container = new self(0); + $container = new self(1); $container->insertFlat(...$data); return $container; }
build (ubuntu-latest, 8.0, pcov): src/TournamentGenerator/Containers/BaseContainer.php#L90
Escaped Mutant for Mutator "GreaterThan": --- Original +++ New @@ @@ */ public function get() : array { - if (count($this->children) > 0) { + if (count($this->children) >= 0) { $values = [$this->values]; foreach ($this->children as $child) { $values[] = $child->get();
build (ubuntu-latest, 8.0, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L199
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ public function whereId(int|string $id) : ContainerQuery { $this->filters[] = static function ($object) use($id) { - return $object instanceof WithId && $object->getId() === $id; + return true && $object->getId() === $id; }; return $this; }
build (ubuntu-latest, 8.0, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L225
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ if (is_null($callback)) { $this->sortClosure = static function ($a, $b) { if ($a === $b) { - return 0; + return 1; } return $a < $b ? -1 : 1; };
build (ubuntu-latest, 8.0, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L225
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ if (is_null($callback)) { $this->sortClosure = static function ($a, $b) { if ($a === $b) { - return 0; + return -1; } return $a < $b ? -1 : 1; };
build (ubuntu-latest, 8.0, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L227
Escaped Mutant for Mutator "LessThan": --- Original +++ New @@ @@ if ($a === $b) { return 0; } - return $a < $b ? -1 : 1; + return $a <= $b ? -1 : 1; }; } else { $this->sortClosure = $callback;
build (ubuntu-latest, 8.0, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L227
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ if ($a === $b) { return 0; } - return $a < $b ? -1 : 1; + return $a < $b ? -2 : 1; }; } else { $this->sortClosure = $callback;
build (ubuntu-latest, 8.0, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L227
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ if ($a === $b) { return 0; } - return $a < $b ? -1 : 1; + return $a < $b ? -1 : 2; }; } else { $this->sortClosure = $callback;
build (ubuntu-latest, 8.0, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L324
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } // Compare values if ($property1 === $property2) { - return 0; + return -1; } return $property1 < $property2 ? -1 : 1; } }
build (ubuntu-latest, 8.1, --ignore-platform-req=php, pcov)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (ubuntu-latest, 8.1, --ignore-platform-req=php, pcov): src/TournamentGenerator/Containers/BaseContainer.php#L55
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ */ public static function fromArray(array $data) : BaseContainer { - $container = new self(0); + $container = new self(-1); $container->insertFlat(...$data); return $container; }
build (ubuntu-latest, 8.1, --ignore-platform-req=php, pcov): src/TournamentGenerator/Containers/BaseContainer.php#L55
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ */ public static function fromArray(array $data) : BaseContainer { - $container = new self(0); + $container = new self(1); $container->insertFlat(...$data); return $container; }
build (ubuntu-latest, 8.1, --ignore-platform-req=php, pcov): src/TournamentGenerator/Containers/BaseContainer.php#L90
Escaped Mutant for Mutator "GreaterThan": --- Original +++ New @@ @@ */ public function get() : array { - if (count($this->children) > 0) { + if (count($this->children) >= 0) { $values = [$this->values]; foreach ($this->children as $child) { $values[] = $child->get();
build (ubuntu-latest, 8.1, --ignore-platform-req=php, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L199
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ public function whereId(int|string $id) : ContainerQuery { $this->filters[] = static function ($object) use($id) { - return $object instanceof WithId && $object->getId() === $id; + return true && $object->getId() === $id; }; return $this; }
build (ubuntu-latest, 8.1, --ignore-platform-req=php, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L225
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ if (is_null($callback)) { $this->sortClosure = static function ($a, $b) { if ($a === $b) { - return 0; + return -1; } return $a < $b ? -1 : 1; };
build (ubuntu-latest, 8.1, --ignore-platform-req=php, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L225
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ if (is_null($callback)) { $this->sortClosure = static function ($a, $b) { if ($a === $b) { - return 0; + return 1; } return $a < $b ? -1 : 1; };
build (ubuntu-latest, 8.1, --ignore-platform-req=php, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L227
Escaped Mutant for Mutator "LessThan": --- Original +++ New @@ @@ if ($a === $b) { return 0; } - return $a < $b ? -1 : 1; + return $a <= $b ? -1 : 1; }; } else { $this->sortClosure = $callback;
build (ubuntu-latest, 8.1, --ignore-platform-req=php, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L227
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ if ($a === $b) { return 0; } - return $a < $b ? -1 : 1; + return $a < $b ? -2 : 1; }; } else { $this->sortClosure = $callback;
build (ubuntu-latest, 8.1, --ignore-platform-req=php, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L227
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ if ($a === $b) { return 0; } - return $a < $b ? -1 : 1; + return $a < $b ? -1 : 2; }; } else { $this->sortClosure = $callback;
build (ubuntu-latest, 8.1, --ignore-platform-req=php, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L324
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } // Compare values if ($property1 === $property2) { - return 0; + return -1; } return $property1 < $property2 ? -1 : 1; } }
build (ubuntu-latest, 8.1, pcov)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (ubuntu-latest, 8.1, pcov): src/TournamentGenerator/Containers/BaseContainer.php#L55
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ */ public static function fromArray(array $data) : BaseContainer { - $container = new self(0); + $container = new self(1); $container->insertFlat(...$data); return $container; }
build (ubuntu-latest, 8.1, pcov): src/TournamentGenerator/Containers/BaseContainer.php#L55
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ */ public static function fromArray(array $data) : BaseContainer { - $container = new self(0); + $container = new self(-1); $container->insertFlat(...$data); return $container; }
build (ubuntu-latest, 8.1, pcov): src/TournamentGenerator/Containers/BaseContainer.php#L90
Escaped Mutant for Mutator "GreaterThan": --- Original +++ New @@ @@ */ public function get() : array { - if (count($this->children) > 0) { + if (count($this->children) >= 0) { $values = [$this->values]; foreach ($this->children as $child) { $values[] = $child->get();
build (ubuntu-latest, 8.1, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L199
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ public function whereId(int|string $id) : ContainerQuery { $this->filters[] = static function ($object) use($id) { - return $object instanceof WithId && $object->getId() === $id; + return true && $object->getId() === $id; }; return $this; }
build (ubuntu-latest, 8.1, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L225
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ if (is_null($callback)) { $this->sortClosure = static function ($a, $b) { if ($a === $b) { - return 0; + return -1; } return $a < $b ? -1 : 1; };
build (ubuntu-latest, 8.1, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L225
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ if (is_null($callback)) { $this->sortClosure = static function ($a, $b) { if ($a === $b) { - return 0; + return 1; } return $a < $b ? -1 : 1; };
build (ubuntu-latest, 8.1, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L227
Escaped Mutant for Mutator "LessThan": --- Original +++ New @@ @@ if ($a === $b) { return 0; } - return $a < $b ? -1 : 1; + return $a <= $b ? -1 : 1; }; } else { $this->sortClosure = $callback;
build (ubuntu-latest, 8.1, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L227
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ if ($a === $b) { return 0; } - return $a < $b ? -1 : 1; + return $a < $b ? -2 : 1; }; } else { $this->sortClosure = $callback;
build (ubuntu-latest, 8.1, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L227
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ if ($a === $b) { return 0; } - return $a < $b ? -1 : 1; + return $a < $b ? -1 : 2; }; } else { $this->sortClosure = $callback;
build (ubuntu-latest, 8.1, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L324
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } // Compare values if ($property1 === $property2) { - return 0; + return -1; } return $property1 < $property2 ? -1 : 1; } }
build (ubuntu-latest, 8.0, --prefer-lowest, pcov)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (ubuntu-latest, 8.0, --prefer-lowest, pcov): src/TournamentGenerator/Containers/BaseContainer.php#L55
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ */ public static function fromArray(array $data) : BaseContainer { - $container = new self(0); + $container = new self(-1); $container->insertFlat(...$data); return $container; }
build (ubuntu-latest, 8.0, --prefer-lowest, pcov): src/TournamentGenerator/Containers/BaseContainer.php#L55
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ */ public static function fromArray(array $data) : BaseContainer { - $container = new self(0); + $container = new self(1); $container->insertFlat(...$data); return $container; }
build (ubuntu-latest, 8.0, --prefer-lowest, pcov): src/TournamentGenerator/Containers/BaseContainer.php#L90
Escaped Mutant for Mutator "GreaterThan": --- Original +++ New @@ @@ */ public function get() : array { - if (count($this->children) > 0) { + if (count($this->children) >= 0) { $values = [$this->values]; foreach ($this->children as $child) { $values[] = $child->get();
build (ubuntu-latest, 8.0, --prefer-lowest, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L199
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ public function whereId(int|string $id) : ContainerQuery { $this->filters[] = static function ($object) use($id) { - return $object instanceof WithId && $object->getId() === $id; + return true && $object->getId() === $id; }; return $this; }
build (ubuntu-latest, 8.0, --prefer-lowest, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L225
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ if (is_null($callback)) { $this->sortClosure = static function ($a, $b) { if ($a === $b) { - return 0; + return -1; } return $a < $b ? -1 : 1; };
build (ubuntu-latest, 8.0, --prefer-lowest, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L225
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ if (is_null($callback)) { $this->sortClosure = static function ($a, $b) { if ($a === $b) { - return 0; + return 1; } return $a < $b ? -1 : 1; };
build (ubuntu-latest, 8.0, --prefer-lowest, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L227
Escaped Mutant for Mutator "LessThan": --- Original +++ New @@ @@ if ($a === $b) { return 0; } - return $a < $b ? -1 : 1; + return $a <= $b ? -1 : 1; }; } else { $this->sortClosure = $callback;
build (ubuntu-latest, 8.0, --prefer-lowest, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L227
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ if ($a === $b) { return 0; } - return $a < $b ? -1 : 1; + return $a < $b ? -2 : 1; }; } else { $this->sortClosure = $callback;
build (ubuntu-latest, 8.0, --prefer-lowest, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L227
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ if ($a === $b) { return 0; } - return $a < $b ? -1 : 1; + return $a < $b ? -1 : 2; }; } else { $this->sortClosure = $callback;
build (ubuntu-latest, 8.0, --prefer-lowest, pcov): src/TournamentGenerator/Containers/ContainerQuery.php#L324
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } // Compare values if ($property1 === $property2) { - return 0; + return -1; } return $property1 < $property2 ? -1 : 1; } }