Skip to content

Setup mutation testing #1473

Setup mutation testing

Setup mutation testing #1473

Triggered via pull request October 6, 2025 16:08
Status Failure
Total duration 4m 30s
Artifacts

build.yml

on: pull_request
Matrix: Tests
Coding Standard
23s
Coding Standard
Matrix: Lint
Matrix: PHPStan
Matrix: Mutation Testing
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 3 warnings
Coding Standard
Process completed with exit code 2.
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: tests/Rules/DeadCode/entity-manager.php#L18
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver: This class will be removed in 3.0 without replacement. Copyright (c) Doctrine Project From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php#L5101
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver: This class will be removed in 3.0 without replacement. Copyright (c) Doctrine Project From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php#L5101
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver: This class will be removed in 3.0 without replacement. Copyright (c) Doctrine Project From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: tests/DoctrineIntegration/ORM/entity-manager.php#L16
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver: This class will be removed in 3.0 without replacement. Copyright (c) Doctrine Project From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: tests/DoctrineIntegration/ORM/entity-manager.php#L16
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver: This class will be removed in 3.0 without replacement. Copyright (c) Doctrine Project From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: tests/Classes/entity-manager.php#L20
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver: This class will be removed in 3.0 without replacement. Copyright (c) Doctrine Project From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: tests/Classes/entity-manager.php#L20
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver: This class will be removed in 3.0 without replacement. Copyright (c) Doctrine Project From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: src/Doctrine/Mapping/ClassMetadataFactory.php#L34
Instantiation of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver: This class will be removed in 3.0 without replacement. Copyright (c) Doctrine Project From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: src/Doctrine/Mapping/ClassMetadataFactory.php#L34
Call to method __construct() of deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver: This class will be removed in 3.0 without replacement. Copyright (c) Doctrine Project From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: src/Doctrine/Mapping/ClassMetadataFactory.php#L31
Access to constant on deprecated class Doctrine\ORM\Mapping\Driver\AnnotationDriver: This class will be removed in 3.0 without replacement. Copyright (c) Doctrine Project From https://github.com/doctrine/orm/blob/40fbbf4429b0d66517244051237a2bd0616a7a13/src/Mapping/Driver/AnnotationDriver.php
Mutation Testing (8.2)
Process completed with exit code 1.
Mutation Testing (8.4)
Process completed with exit code 1.
Mutation Testing (8.3)
Process completed with exit code 1.
Mutation Testing (8.2): src/Rules/Doctrine/ORM/QueryBuilderDqlRule.php#L74
Escaped Mutant for Mutator "TrinaryLogicMutator": @@ @@ } // testing stuff $obj = (new ObjectType('Doctrine\ORM\QueryBuilder'))->isSuperTypeOf($calledOnType); - if ($obj->yes()) { + if (!$obj->no()) { $x = 1; } else { $x = 2;
Mutation Testing (8.4): src/Rules/Doctrine/ORM/QueryBuilderDqlRule.php#L74
Escaped Mutant for Mutator "TrinaryLogicMutator": @@ @@ } // testing stuff $obj = (new ObjectType('Doctrine\ORM\QueryBuilder'))->isSuperTypeOf($calledOnType); - if ($obj->yes()) { + if (!$obj->no()) { $x = 1; } else { $x = 2;
Mutation Testing (8.3): src/Rules/Doctrine/ORM/QueryBuilderDqlRule.php#L74
Escaped Mutant for Mutator "TrinaryLogicMutator": @@ @@ } // testing stuff $obj = (new ObjectType('Doctrine\ORM\QueryBuilder'))->isSuperTypeOf($calledOnType); - if ($obj->yes()) { + if (!$obj->no()) { $x = 1; } else { $x = 2;