Set a length limit for publicKeyCredentialId field (#678) #99
infection.yml
on: push
5️⃣ Mutation Testing
6m 6s
Annotations
11 warnings
5️⃣ Mutation Testing
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
5️⃣ Mutation Testing:
src/stimulus/src/WebauthnStimulusBundle.php#L16
Escaped Mutant for Mutator "LogicalNot":
@@ @@
{
public function prependExtension(ContainerConfigurator $container, ContainerBuilder $builder): void
{
- if (!$this->isAssetMapperAvailable($builder)) {
+ if ($this->isAssetMapperAvailable($builder)) {
return;
}
$builder->prependExtensionConfig('framework', ['asset_mapper' => ['paths' => [__DIR__ . '/../assets/dist' => '@web-auth/webauthn-stimulus']]]);
|
5️⃣ Mutation Testing:
src/symfony/src/DependencyInjection/Compiler/CeremonyStepManagerFactoryCompilerPass.php#L64
Escaped Mutant for Mutator "LogicalNot":
@@ @@
}
private function enableMetadataStatementSupport(ContainerBuilder $container, Definition $definition): void
{
- if (!$container->hasAlias(MetadataStatementRepository::class) || !$container->hasAlias(StatusReportRepository::class) || !$container->hasAlias(CertificateChainValidator::class)) {
+ if (!$container->hasAlias(MetadataStatementRepository::class) || $container->hasAlias(StatusReportRepository::class) || !$container->hasAlias(CertificateChainValidator::class)) {
return;
}
$definition->addMethodCall('enableMetadataStatementSupport', [new Reference(MetadataStatementRepository::class), new Reference(StatusReportRepository::class), new Reference(CertificateChainValidator::class)]);
|
5️⃣ Mutation Testing:
src/symfony/src/DependencyInjection/Compiler/CeremonyStepManagerFactoryCompilerPass.php#L65
Escaped Mutant for Mutator "LogicalNot":
@@ @@
}
private function enableMetadataStatementSupport(ContainerBuilder $container, Definition $definition): void
{
- if (!$container->hasAlias(MetadataStatementRepository::class) || !$container->hasAlias(StatusReportRepository::class) || !$container->hasAlias(CertificateChainValidator::class)) {
+ if (!$container->hasAlias(MetadataStatementRepository::class) || !$container->hasAlias(StatusReportRepository::class) || $container->hasAlias(CertificateChainValidator::class)) {
return;
}
$definition->addMethodCall('enableMetadataStatementSupport', [new Reference(MetadataStatementRepository::class), new Reference(StatusReportRepository::class), new Reference(CertificateChainValidator::class)]);
|
5️⃣ Mutation Testing:
src/symfony/src/DependencyInjection/Compiler/CeremonyStepManagerFactoryCompilerPass.php#L70
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
if (!$container->hasAlias(MetadataStatementRepository::class) || !$container->hasAlias(StatusReportRepository::class) || !$container->hasAlias(CertificateChainValidator::class)) {
return;
}
- $definition->addMethodCall('enableMetadataStatementSupport', [new Reference(MetadataStatementRepository::class), new Reference(StatusReportRepository::class), new Reference(CertificateChainValidator::class)]);
+ $definition->addMethodCall('enableMetadataStatementSupport', [new Reference(StatusReportRepository::class), new Reference(CertificateChainValidator::class)]);
}
private function enableCertificateChainValidator(ContainerBuilder $container, Definition $definition): void
{
|
5️⃣ Mutation Testing:
src/symfony/src/DependencyInjection/Compiler/CeremonyStepManagerFactoryCompilerPass.php#L70
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
if (!$container->hasAlias(MetadataStatementRepository::class) || !$container->hasAlias(StatusReportRepository::class) || !$container->hasAlias(CertificateChainValidator::class)) {
return;
}
- $definition->addMethodCall('enableMetadataStatementSupport', [new Reference(MetadataStatementRepository::class), new Reference(StatusReportRepository::class), new Reference(CertificateChainValidator::class)]);
+
}
private function enableCertificateChainValidator(ContainerBuilder $container, Definition $definition): void
{
|
5️⃣ Mutation Testing:
src/symfony/src/DependencyInjection/Compiler/CeremonyStepManagerFactoryCompilerPass.php#L79
Escaped Mutant for Mutator "LogicalNot":
@@ @@
}
private function enableCertificateChainValidator(ContainerBuilder $container, Definition $definition): void
{
- if (!$container->hasDefinition(CertificateChainValidator::class)) {
+ if ($container->hasDefinition(CertificateChainValidator::class)) {
return;
}
$definition->addMethodCall('enableCertificateChainValidator', [new Reference(CertificateChainValidator::class)]);
|
5️⃣ Mutation Testing:
src/symfony/src/DependencyInjection/Compiler/CeremonyStepManagerFactoryCompilerPass.php#L90
Escaped Mutant for Mutator "LogicalNot":
@@ @@
}
private function enableTopOriginValidator(ContainerBuilder $container, Definition $definition): void
{
- if (!$container->hasDefinition(TopOriginValidator::class) && !$container->hasAlias(TopOriginValidator::class)) {
+ if ($container->hasDefinition(TopOriginValidator::class) && !$container->hasAlias(TopOriginValidator::class)) {
return;
}
$definition->addMethodCall('enableTopOriginValidator', [new Reference(TopOriginValidator::class)]);
|
5️⃣ Mutation Testing:
src/symfony/src/DependencyInjection/Compiler/CeremonyStepManagerFactoryCompilerPass.php#L90
Escaped Mutant for Mutator "LogicalNot":
@@ @@
}
private function enableTopOriginValidator(ContainerBuilder $container, Definition $definition): void
{
- if (!$container->hasDefinition(TopOriginValidator::class) && !$container->hasAlias(TopOriginValidator::class)) {
+ if (!$container->hasDefinition(TopOriginValidator::class) && $container->hasAlias(TopOriginValidator::class)) {
return;
}
$definition->addMethodCall('enableTopOriginValidator', [new Reference(TopOriginValidator::class)]);
|
5️⃣ Mutation Testing:
src/symfony/src/DependencyInjection/Compiler/CeremonyStepManagerFactoryCompilerPass.php#L90
Escaped Mutant for Mutator "LogicalAnd":
@@ @@
}
private function enableTopOriginValidator(ContainerBuilder $container, Definition $definition): void
{
- if (!$container->hasDefinition(TopOriginValidator::class) && !$container->hasAlias(TopOriginValidator::class)) {
+ if (!$container->hasDefinition(TopOriginValidator::class) || !$container->hasAlias(TopOriginValidator::class)) {
return;
}
$definition->addMethodCall('enableTopOriginValidator', [new Reference(TopOriginValidator::class)]);
|
5️⃣ Mutation Testing:
src/symfony/src/DependencyInjection/Compiler/CeremonyStepManagerFactoryCompilerPass.php#L90
Escaped Mutant for Mutator "LogicalAndAllSubExprNegation":
@@ @@
}
private function enableTopOriginValidator(ContainerBuilder $container, Definition $definition): void
{
- if (!$container->hasDefinition(TopOriginValidator::class) && !$container->hasAlias(TopOriginValidator::class)) {
+ if ($container->hasDefinition(TopOriginValidator::class) && $container->hasAlias(TopOriginValidator::class)) {
return;
}
$definition->addMethodCall('enableTopOriginValidator', [new Reference(TopOriginValidator::class)]);
|