Skip to content

Merge pull request #28 from acelaya-forks/feature/drop-interop #75

Merge pull request #28 from acelaya-forks/feature/drop-interop

Merge pull request #28 from acelaya-forks/feature/drop-interop #75

Triggered via push July 4, 2023 17:58
Status Success
Total duration 2m 0s
Artifacts

ci.yml

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

Annotations

10 warnings
ci / mutation-tests (8.1): 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.1): 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.1): 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.1): 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.1): 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.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) || true)) { $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) || false)) { $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;