Add ArrayCombineFunctionThrowTypeExtension #24072
tests.yml
on: pull_request
Matrix: Tests
Determine levels tests matrix
39s
Matrix: Integration tests
Matrix: Tests with old PHPUnit
Matrix: Mutation Testing
Matrix: Levels tests
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']
|