Skip to content

Replace phpunit command with kyx test #34

Replace phpunit command with kyx test

Replace phpunit command with kyx test #34

Triggered via push May 31, 2025 18:26
Status Success
Total duration 1m 59s
Artifacts

ci.yml

on: push
Dependency Validation
33s
Dependency Validation
Coding Guidelines
15s
Coding Guidelines
Matrix: Unit Tests
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Mutation Tests: src/Doctrine/DBAL/Types/DateTimeHelper.php#L48
Escaped Mutant for Mutator "LogicalOrNegation": @@ @@ */ public static function convertToPHPValue($value, string $type, string $format): ?\DateTime { - if (null === $value || $value instanceof \DateTime) { + if (!(null === $value || $value instanceof \DateTime)) { return $value; } if (\is_string($value)) {
Mutation Tests: src/Doctrine/DBAL/Types/DateTimeHelper.php#L48
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation": @@ @@ */ public static function convertToPHPValue($value, string $type, string $format): ?\DateTime { - if (null === $value || $value instanceof \DateTime) { + if (!(null === $value) || !$value instanceof \DateTime) { return $value; } if (\is_string($value)) {
Mutation Tests: src/Doctrine/DBAL/Types/DateTimeHelper.php#L48
Escaped Mutant for Mutator "LogicalOr": @@ @@ */ public static function convertToPHPValue($value, string $type, string $format): ?\DateTime { - if (null === $value || $value instanceof \DateTime) { + if (null === $value && $value instanceof \DateTime) { return $value; } if (\is_string($value)) {
Mutation Tests: src/Doctrine/DBAL/Types/DateTimeHelper.php#L48
Escaped Mutant for Mutator "InstanceOf_": @@ @@ */ public static function convertToPHPValue($value, string $type, string $format): ?\DateTime { - if (null === $value || $value instanceof \DateTime) { + if (null === $value || false) { return $value; } if (\is_string($value)) {
Mutation Tests: src/Doctrine/DBAL/Types/DateTimeHelper.php#L48
Escaped Mutant for Mutator "InstanceOf_": @@ @@ */ public static function convertToPHPValue($value, string $type, string $format): ?\DateTime { - if (null === $value || $value instanceof \DateTime) { + if (null === $value || true) { return $value; } if (\is_string($value)) {
Mutation Tests: src/Doctrine/DBAL/Types/DateTimeHelper.php#L48
Escaped Mutant for Mutator "Identical": @@ @@ */ public static function convertToPHPValue($value, string $type, string $format): ?\DateTime { - if (null === $value || $value instanceof \DateTime) { + if (null !== $value || $value instanceof \DateTime) { return $value; } if (\is_string($value)) {
Mutation Tests: src/Doctrine/DBAL/Types/DateTimeHelper.php#L35
Escaped Mutant for Mutator "AssignCoalesce": @@ @@ } private static function getUtc(): \DateTimeZone { - return self::$utc ??= new \DateTimeZone('Etc/UTC'); + return self::$utc = new \DateTimeZone('Etc/UTC'); } /** * @param class-string $type
Mutation Tests: src/Doctrine/DBAL/Types/DateTimeHelper.php#L25
Escaped Mutant for Mutator "InstanceOf_": @@ @@ { if ($value instanceof \DateTimeImmutable) { $value = \DateTimeImmutable::createFromInterface($value)->setTimezone(self::getUtc()); - } elseif ($value instanceof \DateTime) { + } elseif (false) { $value = \DateTime::createFromInterface($value)->setTimezone(self::getUtc()); } return $value;
Mutation Tests: src/Doctrine/DBAL/Types/DateTimeHelper.php#L22
Escaped Mutant for Mutator "InstanceOf_": @@ @@ */ public static function convertToDatabaseValue(mixed $value): mixed { - if ($value instanceof \DateTimeImmutable) { + if (false) { $value = \DateTimeImmutable::createFromInterface($value)->setTimezone(self::getUtc()); } elseif ($value instanceof \DateTime) { $value = \DateTime::createFromInterface($value)->setTimezone(self::getUtc());
Mutation Tests: src/Cache/ClassMetadataCacheWarmer.php#L17
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ } public function warmUp(string $cacheDir, ?string $buildDir = null): array { - $this->classMetadataGenerator->generateAll(); + return []; } public function isOptional(): bool