Argument resolver for subscriber #18
mutation-tests-diff.yml
on: pull_request
Matrix: Mutation tests on diff
Annotations
2 warnings
Mutation tests on diff (locked, 8.3, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Mutation tests on diff (locked, 8.3, ubuntu-latest):
src/Metadata/Subscriber/AttributeSubscriberMetadataFactory.php#L105
Escaped Mutant for Mutator "Throw_":
--- Original
+++ New
@@ @@
foreach ($method->getParameters() as $parameter) {
$type = $parameter->getType();
if ($type === null) {
- throw ArgumentTypeNotSupported::missingType($method->getDeclaringClass()->getName(), $method->getName(), $parameter->getName());
+ ArgumentTypeNotSupported::missingType($method->getDeclaringClass()->getName(), $method->getName(), $parameter->getName());
}
if (!$type instanceof ReflectionNamedType) {
throw ArgumentTypeNotSupported::onlyNamedTypeSupported($method->getDeclaringClass()->getName(), $method->getName(), $parameter->getName());
|