Skip to content

Add ArrayCombineFunctionThrowTypeExtension #24072

Add ArrayCombineFunctionThrowTypeExtension

Add ArrayCombineFunctionThrowTypeExtension #24072

Triggered via pull request December 5, 2025 14:30
Status Failure
Total duration 20m 52s
Artifacts

tests.yml

on: pull_request
Matrix: Tests
Determine levels tests matrix
39s
Determine levels tests matrix
Matrix: Integration tests
Matrix: Tests with old PHPUnit
Matrix: Mutation Testing
Matrix: Levels tests
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 6 warnings
Mutation Testing (8.3, ubuntu-latest)
Process completed with exit code 1.
Mutation Testing (8.4, ubuntu-latest)
Process completed with exit code 1.
Mutation Testing (8.2, ubuntu-latest)
Process completed with exit code 1.
Mutation Testing (8.3, ubuntu-latest): src/Type/Php/ArrayCombineFunctionThrowTypeExtension.php#L36
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator": @@ @@ $firstArg = $funcCall->getArgs()[0]->value; $secondArg = $funcCall->getArgs()[1]->value; $hasValueError = $this->arrayCombineHelper->getReturnAndThrowType($firstArg, $secondArg, $scope)[1]; - if (!$hasValueError->no()) { + if ($hasValueError->yes()) { return $functionReflection->getThrowType(); } return null; } }
Mutation Testing (8.3, ubuntu-latest)
Unexpected input(s) 'extensions', valid inputs are ['php-version', 'php-extensions', 'build-infection-path']
Mutation Testing (8.4, ubuntu-latest): src/Type/Php/ArrayCombineFunctionThrowTypeExtension.php#L36
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator": @@ @@ $firstArg = $funcCall->getArgs()[0]->value; $secondArg = $funcCall->getArgs()[1]->value; $hasValueError = $this->arrayCombineHelper->getReturnAndThrowType($firstArg, $secondArg, $scope)[1]; - if (!$hasValueError->no()) { + if ($hasValueError->yes()) { return $functionReflection->getThrowType(); } return null; } }
Mutation Testing (8.4, ubuntu-latest)
Unexpected input(s) 'extensions', valid inputs are ['php-version', 'php-extensions', 'build-infection-path']
Mutation Testing (8.2, ubuntu-latest): src/Type/Php/ArrayCombineFunctionThrowTypeExtension.php#L36
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator": @@ @@ $firstArg = $funcCall->getArgs()[0]->value; $secondArg = $funcCall->getArgs()[1]->value; $hasValueError = $this->arrayCombineHelper->getReturnAndThrowType($firstArg, $secondArg, $scope)[1]; - if (!$hasValueError->no()) { + if ($hasValueError->yes()) { return $functionReflection->getThrowType(); } return null; } }
Mutation Testing (8.2, ubuntu-latest)
Unexpected input(s) 'extensions', valid inputs are ['php-version', 'php-extensions', 'build-infection-path']