Skip to content

Remove support for PHP 8.1 and add support to PHP 8.3 #77

Remove support for PHP 8.1 and add support to PHP 8.3

Remove support for PHP 8.1 and add support to PHP 8.3 #77

Triggered via pull request November 4, 2023 09:59
Status Success
Total duration 2m 1s
Artifacts

ci.yml

on: pull_request
Matrix: ci / unit-tests
Matrix: ci / static-analysis
Matrix: ci / mutation-tests
Matrix: ci / upload-coverage
ci  /  delete-artifacts
3s
ci / delete-artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
ci / mutation-tests (8.2): src/Factory/DottedAccessConfigAbstractFactory.php#L44
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ throw new ServiceNotCreatedException(sprintf('Defined service "%s" could not be found in container after resolving dotted expression "%s".', $serviceName, $requestedName)); } $array = $container->get($serviceName); - if (!is_array($array) && !$array instanceof ArrayAccess) { + if (!is_array($array) && !false) { throw new ServiceNotCreatedException(sprintf('Defined service "%s" does not return an array or ArrayAccess after resolving dotted expression "%s".', $serviceName, $requestedName)); } return $this->readKeysFromArray($parts, $array);
ci / mutation-tests (8.2): src/Factory/DottedAccessConfigAbstractFactory.php#L71
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ throw new InvalidArgumentException(sprintf('The key "%s" provided in the dotted notation could not be found in the array service', $key)); } $value = $array[$key]; - if (!empty($keys) && (is_array($value) || $value instanceof ArrayAccess)) { + if (!empty($keys) && (is_array($value) || false)) { $value = $this->readKeysFromArray($keys, $value); } return $value;
ci / mutation-tests (8.2): src/Factory/DottedAccessConfigAbstractFactory.php#L71
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ throw new InvalidArgumentException(sprintf('The key "%s" provided in the dotted notation could not be found in the array service', $key)); } $value = $array[$key]; - if (!empty($keys) && (is_array($value) || $value instanceof ArrayAccess)) { + if (!empty($keys) && (is_array($value) || true)) { $value = $this->readKeysFromArray($keys, $value); } return $value;
ci / mutation-tests (8.2): src/Factory/DottedAccessConfigAbstractFactory.php#L71
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation": --- Original +++ New @@ @@ throw new InvalidArgumentException(sprintf('The key "%s" provided in the dotted notation could not be found in the array service', $key)); } $value = $array[$key]; - if (!empty($keys) && (is_array($value) || $value instanceof ArrayAccess)) { + if (!empty($keys) && (!is_array($value) || !$value instanceof ArrayAccess)) { $value = $this->readKeysFromArray($keys, $value); } return $value;
ci / mutation-tests (8.2): src/Factory/DottedAccessConfigAbstractFactory.php#L71
Escaped Mutant for Mutator "LogicalAnd": --- Original +++ New @@ @@ throw new InvalidArgumentException(sprintf('The key "%s" provided in the dotted notation could not be found in the array service', $key)); } $value = $array[$key]; - if (!empty($keys) && (is_array($value) || $value instanceof ArrayAccess)) { + if (!empty($keys) || (is_array($value) || $value instanceof ArrayAccess)) { $value = $this->readKeysFromArray($keys, $value); } return $value;
ci / mutation-tests (8.3): src/Factory/DottedAccessConfigAbstractFactory.php#L44
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ throw new ServiceNotCreatedException(sprintf('Defined service "%s" could not be found in container after resolving dotted expression "%s".', $serviceName, $requestedName)); } $array = $container->get($serviceName); - if (!is_array($array) && !$array instanceof ArrayAccess) { + if (!is_array($array) && !false) { throw new ServiceNotCreatedException(sprintf('Defined service "%s" does not return an array or ArrayAccess after resolving dotted expression "%s".', $serviceName, $requestedName)); } return $this->readKeysFromArray($parts, $array);
ci / mutation-tests (8.3): src/Factory/DottedAccessConfigAbstractFactory.php#L71
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ throw new InvalidArgumentException(sprintf('The key "%s" provided in the dotted notation could not be found in the array service', $key)); } $value = $array[$key]; - if (!empty($keys) && (is_array($value) || $value instanceof ArrayAccess)) { + if (!empty($keys) && (is_array($value) || true)) { $value = $this->readKeysFromArray($keys, $value); } return $value;
ci / mutation-tests (8.3): src/Factory/DottedAccessConfigAbstractFactory.php#L71
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ throw new InvalidArgumentException(sprintf('The key "%s" provided in the dotted notation could not be found in the array service', $key)); } $value = $array[$key]; - if (!empty($keys) && (is_array($value) || $value instanceof ArrayAccess)) { + if (!empty($keys) && (is_array($value) || false)) { $value = $this->readKeysFromArray($keys, $value); } return $value;
ci / mutation-tests (8.3): src/Factory/DottedAccessConfigAbstractFactory.php#L71
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation": --- Original +++ New @@ @@ throw new InvalidArgumentException(sprintf('The key "%s" provided in the dotted notation could not be found in the array service', $key)); } $value = $array[$key]; - if (!empty($keys) && (is_array($value) || $value instanceof ArrayAccess)) { + if (!empty($keys) && (!is_array($value) || !$value instanceof ArrayAccess)) { $value = $this->readKeysFromArray($keys, $value); } return $value;
ci / mutation-tests (8.3): src/Factory/DottedAccessConfigAbstractFactory.php#L71
Escaped Mutant for Mutator "LogicalAnd": --- Original +++ New @@ @@ throw new InvalidArgumentException(sprintf('The key "%s" provided in the dotted notation could not be found in the array service', $key)); } $value = $array[$key]; - if (!empty($keys) && (is_array($value) || $value instanceof ArrayAccess)) { + if (!empty($keys) || (is_array($value) || $value instanceof ArrayAccess)) { $value = $this->readKeysFromArray($keys, $value); } return $value;