Skip to content

Merge pull request #34 from cycle/transact #34

Merge pull request #34 from cycle/transact

Merge pull request #34 from cycle/transact #34

Triggered via push December 20, 2024 20:45
Status Success
Total duration 46s
Artifacts

testing.yml

on: push
Matrix: arch-testing
Matrix: code-coverage
Matrix: mutation-testing
Fit to window
Zoom out
Zoom in

Annotations

13 warnings
arch-testing (ubuntu-latest, 8.2, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
code-coverage (ubuntu-latest, 8.2, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
mutation-testing (ubuntu-latest, 8.2, locked)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
mutation-testing (ubuntu-latest, 8.2, locked): src/Bridge/Spiral/Bootloader/ActiveRecordBootloader.php#L21
Escaped Mutant for Mutator "PublicVisibility": --- Original +++ New @@ @@ { return [CycleOrmBootloader::class]; } - public function init(ContainerInterface $container) : void + protected function init(ContainerInterface $container) : void { Facade::setContainer($container); } }
mutation-testing (ubuntu-latest, 8.2, locked): src/Facade.php#L38
Escaped Mutant for Mutator "AssignCoalesce": --- Original +++ New @@ @@ */ public static function getOrm() : ORMInterface { - return self::$orm ??= self::getFromContainer(ORMInterface::class); + return self::$orm = self::getFromContainer(ORMInterface::class); } /** * @throws ConfigurationException
mutation-testing (ubuntu-latest, 8.2, locked): src/Facade.php#L46
Escaped Mutant for Mutator "AssignCoalesce": --- Original +++ New @@ @@ */ public static function getDatabaseManager() : DatabaseManager { - return self::$dbal ??= self::getFromContainer(DatabaseManager::class); + return self::$dbal = self::getFromContainer(DatabaseManager::class); } public static function getEntityManager() : EntityManagerInterface {
mutation-testing (ubuntu-latest, 8.2, locked): src/Facade.php#L51
Escaped Mutant for Mutator "AssignCoalesce": --- Original +++ New @@ @@ } public static function getEntityManager() : EntityManagerInterface { - return self::$entityManager ??= new EntityManager(self::getOrm()); + return self::$entityManager = new EntityManager(self::getOrm()); } public static function reset() : void {
mutation-testing (ubuntu-latest, 8.2, locked): src/Facade.php#L77
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ private static function getFromContainer(string $class) : object { // Check if container is set - self::$container === null and throw new ConfigurationException(\sprintf('Container has not been set. Please set the container first using %s method.', self::class . '::setContainer()')); + self::$container === null and throw new ConfigurationException(\sprintf('Container has not been set. Please set the container first using %s method.', '::setContainer()' . self::class)); // Pull service from container try { return self::$container->get($class);
mutation-testing (ubuntu-latest, 8.2, locked): src/Facade.php#L77
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ private static function getFromContainer(string $class) : object { // Check if container is set - self::$container === null and throw new ConfigurationException(\sprintf('Container has not been set. Please set the container first using %s method.', self::class . '::setContainer()')); + self::$container === null and throw new ConfigurationException(\sprintf('Container has not been set. Please set the container first using %s method.', '::setContainer()')); // Pull service from container try { return self::$container->get($class);
mutation-testing (ubuntu-latest, 8.2, locked): src/Facade.php#L77
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ private static function getFromContainer(string $class) : object { // Check if container is set - self::$container === null and throw new ConfigurationException(\sprintf('Container has not been set. Please set the container first using %s method.', self::class . '::setContainer()')); + self::$container === null and throw new ConfigurationException(\sprintf('Container has not been set. Please set the container first using %s method.', self::class)); // Pull service from container try { return self::$container->get($class);
mutation-testing (ubuntu-latest, 8.2, locked): src/Repository/ActiveRepository.php#L101
Escaped Mutant for Mutator "PublicVisibility": --- Original +++ New @@ @@ * @return Select<TEntity> * @mutation-free */ - public final function select() : Select + protected final function select() : Select { return clone $this->select; }
mutation-testing (ubuntu-latest, 8.2, locked): src/Repository/ActiveRepository.php#L103
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ */ public final function select() : Select { - return clone $this->select; + return $this->select; } /** * @param Select<TEntity> $select
mutation-testing (ubuntu-latest, 8.2, locked): src/Repository/ActiveRepository.php#L113
Escaped Mutant for Mutator "CloneRemoval": --- Original +++ New @@ @@ */ protected function with(Select $select) : static { - $repository = clone $this; + $repository = $this; $repository->select = $select; return $repository; }