Skip to content

Run pipeline on php 8.1 #40

Run pipeline on php 8.1

Run pipeline on php 8.1 #40

Triggered via push November 10, 2023 17:40
Status Failure
Total duration 1m 5s
Artifacts

php.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 14 warnings
mutation
Process completed with exit code 1.
codestyle
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
phpstan
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, codecov/codecov-action@v1.0.14. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
mutation
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
mutation: src/EmailAddressType.php#L22
Escaped Mutant for Mutator "CastBool": --- Original +++ New @@ @@ } public function validateNonNullValue(mixed $rawValue) : bool { - return \is_string($rawValue) && (bool) \filter_var($rawValue, \FILTER_VALIDATE_EMAIL); + return \is_string($rawValue) && \filter_var($rawValue, \FILTER_VALIDATE_EMAIL); } }
mutation: src/GpsType.php#L16
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ protected const DESCRIPTION = 'Gps type - latitude and longitude.'; public function __construct(private \Graphpinator\ConstraintDirectives\ConstraintDirectiveAccessor $constraintDirectiveAccessor) { - parent::__construct(); + } public function validateNonNullValue(mixed $rawValue) : bool {
mutation: src/HslType.php#L16
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ protected const DESCRIPTION = 'Hsl type - type representing the HSL color model.'; public function __construct(protected \Graphpinator\ConstraintDirectives\ConstraintDirectiveAccessor $constraintDirectiveAccessor) { - parent::__construct(); + } public function validateNonNullValue(mixed $rawValue) : bool {
mutation: src/IPv4Type.php#L22
Escaped Mutant for Mutator "CastBool": --- Original +++ New @@ @@ } public function validateNonNullValue(mixed $rawValue) : bool { - return \is_string($rawValue) && (bool) \filter_var($rawValue, \FILTER_VALIDATE_IP, \FILTER_FLAG_IPV4); + return \is_string($rawValue) && \filter_var($rawValue, \FILTER_VALIDATE_IP, \FILTER_FLAG_IPV4); } }
mutation: src/IPv6Type.php#L22
Escaped Mutant for Mutator "CastBool": --- Original +++ New @@ @@ } public function validateNonNullValue(mixed $rawValue) : bool { - return \is_string($rawValue) && (bool) \filter_var($rawValue, \FILTER_VALIDATE_IP, \FILTER_FLAG_IPV6); + return \is_string($rawValue) && \filter_var($rawValue, \FILTER_VALIDATE_IP, \FILTER_FLAG_IPV6); } }
mutation: src/MacType.php#L15
Escaped Mutant for Mutator "CastBool": --- Original +++ New @@ @@ protected const DESCRIPTION = 'Mac type - string which contains valid MAC (media access control) address.'; public function validateNonNullValue(mixed $rawValue) : bool { - return \is_string($rawValue) && (bool) \filter_var($rawValue, \FILTER_VALIDATE_MAC); + return \is_string($rawValue) && \filter_var($rawValue, \FILTER_VALIDATE_MAC); } }
mutation: src/RgbType.php#L16
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ protected const DESCRIPTION = 'Rgb type - type representing the RGB color model.'; public function __construct(protected \Graphpinator\ConstraintDirectives\ConstraintDirectiveAccessor $constraintDirectiveAccessor) { - parent::__construct(); + } public function validateNonNullValue(mixed $rawValue) : bool {
mutation: src/Trait/TDateTimeValidate.php#L14
Escaped Mutant for Mutator "LogicalAnd": --- Original +++ New @@ @@ { $dateTime = \DateTime::createFromFormat($format, $value); $errors = \DateTimeImmutable::getLastErrors(); - return $dateTime instanceof \DateTime && $dateTime->format($format) === $value && ($errors === false || $errors['error_count'] === 0 && $errors['warning_count'] === 0); + return $dateTime instanceof \DateTime && $dateTime->format($format) === $value || ($errors === false || $errors['error_count'] === 0 && $errors['warning_count'] === 0); } }
mutation: src/Trait/TDateTimeValidate.php#L16
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ { $dateTime = \DateTime::createFromFormat($format, $value); $errors = \DateTimeImmutable::getLastErrors(); - return $dateTime instanceof \DateTime && $dateTime->format($format) === $value && ($errors === false || $errors['error_count'] === 0 && $errors['warning_count'] === 0); + return $dateTime instanceof \DateTime && $dateTime->format($format) === $value && ($errors === true || $errors['error_count'] === 0 && $errors['warning_count'] === 0); } }
mutation: src/Trait/TDateTimeValidate.php#L16
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ { $dateTime = \DateTime::createFromFormat($format, $value); $errors = \DateTimeImmutable::getLastErrors(); - return $dateTime instanceof \DateTime && $dateTime->format($format) === $value && ($errors === false || $errors['error_count'] === 0 && $errors['warning_count'] === 0); + return $dateTime instanceof \DateTime && $dateTime->format($format) === $value && ($errors !== false || $errors['error_count'] === 0 && $errors['warning_count'] === 0); } }