Update phpstan-baseline and GitHub workflow dependencies (#604) #79
infection.yml
on: push
0️⃣ Mutation Testing
5m 27s
Annotations
10 warnings
0️⃣ Mutation Testing:
src/Bundle/DependencyInjection/Compiler/HeaderCheckerCompilerPass.php#L49
Escaped Mutant for Mutator "Foreach_":
@@ @@
private function addTokenType(Definition $definition, ContainerBuilder $container): void
{
$taggedHeaderCheckerServices = $container->findTaggedServiceIds('jose.checker.token_type');
- foreach ($taggedHeaderCheckerServices as $id => $tags) {
+ foreach ([] as $id => $tags) {
$definition->addMethodCall('addTokenTypeSupport', [new Reference($id)]);
}
}
}
|
0️⃣ Mutation Testing:
src/Bundle/DependencyInjection/Compiler/HeaderCheckerCompilerPass.php#L50
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
{
$taggedHeaderCheckerServices = $container->findTaggedServiceIds('jose.checker.token_type');
foreach ($taggedHeaderCheckerServices as $id => $tags) {
- $definition->addMethodCall('addTokenTypeSupport', [new Reference($id)]);
+ $definition->addMethodCall('addTokenTypeSupport', []);
}
}
}
|
0️⃣ Mutation Testing:
src/Bundle/DependencyInjection/Compiler/HeaderCheckerCompilerPass.php#L50
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
{
$taggedHeaderCheckerServices = $container->findTaggedServiceIds('jose.checker.token_type');
foreach ($taggedHeaderCheckerServices as $id => $tags) {
- $definition->addMethodCall('addTokenTypeSupport', [new Reference($id)]);
+
}
}
}
|
0️⃣ Mutation Testing:
src/Bundle/DependencyInjection/Compiler/JWECollectorCompilerPass.php#L19
Escaped Mutant for Mutator "LogicalNot":
@@ @@
#[Override]
public function process(ContainerBuilder $container): void
{
- if (!$container->hasDefinition(JWECollector::class)) {
+ if ($container->hasDefinition(JWECollector::class)) {
return;
}
$definition = $container->getDefinition(JWECollector::class);
|
0️⃣ Mutation Testing:
src/Bundle/DependencyInjection/Compiler/JWSCollectorCompilerPass.php#L19
Escaped Mutant for Mutator "LogicalNot":
@@ @@
#[Override]
public function process(ContainerBuilder $container): void
{
- if (!$container->hasDefinition(JWSCollector::class)) {
+ if ($container->hasDefinition(JWSCollector::class)) {
return;
}
$definition = $container->getDefinition(JWSCollector::class);
|
0️⃣ Mutation Testing:
src/Bundle/DependencyInjection/Compiler/KeyAnalyzerCompilerPass.php#L18
Escaped Mutant for Mutator "LogicalNot":
@@ @@
#[Override]
public function process(ContainerBuilder $container): void
{
- if (!$container->hasDefinition(KeyAnalyzerManager::class)) {
+ if ($container->hasDefinition(KeyAnalyzerManager::class)) {
return;
}
$definition = $container->getDefinition(KeyAnalyzerManager::class);
|
0️⃣ Mutation Testing:
src/Bundle/DependencyInjection/Compiler/KeyAnalyzerCompilerPass.php#L25
Escaped Mutant for Mutator "Foreach_":
@@ @@
}
$definition = $container->getDefinition(KeyAnalyzerManager::class);
$taggedServices = $container->findTaggedServiceIds('jose.key_analyzer');
- foreach ($taggedServices as $id => $tags) {
+ foreach ([] as $id => $tags) {
$definition->addMethodCall('add', [new Reference($id)]);
}
}
}
|
0️⃣ Mutation Testing:
src/Bundle/DependencyInjection/Compiler/KeyAnalyzerCompilerPass.php#L26
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
$definition = $container->getDefinition(KeyAnalyzerManager::class);
$taggedServices = $container->findTaggedServiceIds('jose.key_analyzer');
foreach ($taggedServices as $id => $tags) {
- $definition->addMethodCall('add', [new Reference($id)]);
+ $definition->addMethodCall('add', []);
}
}
}
|
0️⃣ Mutation Testing:
src/Bundle/DataCollector/JWECollector.php#L71
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
#[Override]
public function collect(array &$data, Request $request, Response $response, ?Throwable $exception = null): void
{
- $this->collectSupportedJWESerializations($data);
+
$this->collectSupportedJWEBuilders($data);
$this->collectSupportedJWEDecrypters($data);
$this->collectSupportedJWELoaders($data);
|
0️⃣ Mutation Testing:
src/Bundle/DependencyInjection/Compiler/KeyAnalyzerCompilerPass.php#L26
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$definition = $container->getDefinition(KeyAnalyzerManager::class);
$taggedServices = $container->findTaggedServiceIds('jose.key_analyzer');
foreach ($taggedServices as $id => $tags) {
- $definition->addMethodCall('add', [new Reference($id)]);
+
}
}
}
|