Skip to content

Update build process and dependency versions (#677) #98

Update build process and dependency versions (#677)

Update build process and dependency versions (#677) #98

Triggered via push January 18, 2025 18:08
Status Success
Total duration 5m 40s
Artifacts

infection.yml

on: push
5️⃣ Mutation Testing
5m 30s
5️⃣ Mutation Testing
Fit to window
Zoom out
Zoom in

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/stimulus/src/WebauthnStimulusBundle.php#L20
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ if (!$this->isAssetMapperAvailable($builder)) { return; } - $builder->prependExtensionConfig('framework', ['asset_mapper' => ['paths' => [__DIR__ . '/../assets/dist' => '@web-auth/webauthn-stimulus']]]); + $builder->prependExtensionConfig('framework', []); } private function isAssetMapperAvailable(ContainerBuilder $container): bool {
5️⃣ Mutation Testing: src/symfony/src/DependencyInjection/Configuration.php#L201
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ unset($v['attachment_mode']); } return $v; - })->end()->children()->scalarNode('authenticator_attachment')->defaultValue(AuthenticatorSelectionCriteria::AUTHENTICATOR_ATTACHMENT_NO_PREFERENCE)->validate()->ifNotInArray([AuthenticatorSelectionCriteria::AUTHENTICATOR_ATTACHMENT_NO_PREFERENCE, AuthenticatorSelectionCriteria::AUTHENTICATOR_ATTACHMENT_PLATFORM, AuthenticatorSelectionCriteria::AUTHENTICATOR_ATTACHMENT_CROSS_PLATFORM])->thenInvalid($errorTemplate)->end()->end()->booleanNode('require_resident_key')->defaultFalse()->end()->scalarNode('user_verification')->defaultValue(AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_PREFERRED)->validate()->ifNotInArray([AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_DISCOURAGED, AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_PREFERRED, AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_REQUIRED])->thenInvalid($errorTemplate)->end()->end()->scalarNode('resident_key')->defaultValue(AuthenticatorSelectionCriteria::RESIDENT_KEY_REQUIREMENT_PREFERRED)->validate()->ifNotInArray([AuthenticatorSelectionCriteria::RESIDENT_KEY_REQUIREMENT_NO_PREFERENCE, AuthenticatorSelectionCriteria::RESIDENT_KEY_REQUIREMENT_DISCOURAGED, AuthenticatorSelectionCriteria::RESIDENT_KEY_REQUIREMENT_PREFERRED, AuthenticatorSelectionCriteria::RESIDENT_KEY_REQUIREMENT_REQUIRED])->thenInvalid($errorTemplate)->end()->end()->end()->end()->arrayNode('extensions')->treatFalseLike([])->treatTrueLike([])->treatNullLike([])->useAttributeAsKey('name')->scalarPrototype()->end()->end()->arrayNode('public_key_credential_parameters')->integerPrototype()->end()->requiresAtLeastOneElement()->treatNullLike([])->treatFalseLike([])->treatTrueLike([])->defaultValue([])->end()->scalarNode('attestation_conveyance')->defaultValue(PublicKeyCredentialCreationOptions::ATTESTATION_CONVEYANCE_PREFERENCE_NONE)->end()->end()->end()->end()->end(); + })->end()->children()->scalarNode('authenticator_attachment')->defaultValue(AuthenticatorSelectionCriteria::AUTHENTICATOR_ATTACHMENT_NO_PREFERENCE)->validate()->ifNotInArray([AuthenticatorSelectionCriteria::AUTHENTICATOR_ATTACHMENT_NO_PREFERENCE, AuthenticatorSelectionCriteria::AUTHENTICATOR_ATTACHMENT_PLATFORM, AuthenticatorSelectionCriteria::AUTHENTICATOR_ATTACHMENT_CROSS_PLATFORM])->thenInvalid($errorTemplate)->end()->end()->booleanNode('require_resident_key')->defaultFalse()->end()->scalarNode('user_verification')->defaultValue(AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_PREFERRED)->validate()->ifNotInArray([AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_PREFERRED, AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_REQUIRED])->thenInvalid($errorTemplate)->end()->end()->scalarNode('resident_key')->defaultValue(AuthenticatorSelectionCriteria::RESIDENT_KEY_REQUIREMENT_PREFERRED)->validate()->ifNotInArray([AuthenticatorSelectionCriteria::RESIDENT_KEY_REQUIREMENT_NO_PREFERENCE, AuthenticatorSelectionCriteria::RESIDENT_KEY_REQUIREMENT_DISCOURAGED, AuthenticatorSelectionCriteria::RESIDENT_KEY_REQUIREMENT_PREFERRED, AuthenticatorSelectionCriteria::RESIDENT_KEY_REQUIREMENT_REQUIRED])->thenInvalid($errorTemplate)->end()->end()->end()->end()->arrayNode('extensions')->treatFalseLike([])->treatTrueLike([])->treatNullLike([])->useAttributeAsKey('name')->scalarPrototype()->end()->end()->arrayNode('public_key_credential_parameters')->integerPrototype()->end()->requiresAtLeastOneElement()->treatNullLike([])->treatFalseLike([])->treatTrueLike([])->defaultValue([])->end()->scalarNode('attestation_conveyance')->defaultValue(PublicKeyCredentialCreationOptions::ATTESTATION_CONVEYANCE_PREFERENCE_NONE)->end()->end()->end()->end()->end(); } private function addRequestProfilesConfig(ArrayNodeDefinition $rootNode): void {
5️⃣ Mutation Testing: src/symfony/src/DependencyInjection/Configuration.php#L212
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ unset($v['attachment_mode']); } return $v; - })->end()->children()->scalarNode('authenticator_attachment')->defaultValue(AuthenticatorSelectionCriteria::AUTHENTICATOR_ATTACHMENT_NO_PREFERENCE)->validate()->ifNotInArray([AuthenticatorSelectionCriteria::AUTHENTICATOR_ATTACHMENT_NO_PREFERENCE, AuthenticatorSelectionCriteria::AUTHENTICATOR_ATTACHMENT_PLATFORM, AuthenticatorSelectionCriteria::AUTHENTICATOR_ATTACHMENT_CROSS_PLATFORM])->thenInvalid($errorTemplate)->end()->end()->booleanNode('require_resident_key')->defaultFalse()->end()->scalarNode('user_verification')->defaultValue(AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_PREFERRED)->validate()->ifNotInArray([AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_DISCOURAGED, AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_PREFERRED, AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_REQUIRED])->thenInvalid($errorTemplate)->end()->end()->scalarNode('resident_key')->defaultValue(AuthenticatorSelectionCriteria::RESIDENT_KEY_REQUIREMENT_PREFERRED)->validate()->ifNotInArray([AuthenticatorSelectionCriteria::RESIDENT_KEY_REQUIREMENT_NO_PREFERENCE, AuthenticatorSelectionCriteria::RESIDENT_KEY_REQUIREMENT_DISCOURAGED, AuthenticatorSelectionCriteria::RESIDENT_KEY_REQUIREMENT_PREFERRED, AuthenticatorSelectionCriteria::RESIDENT_KEY_REQUIREMENT_REQUIRED])->thenInvalid($errorTemplate)->end()->end()->end()->end()->arrayNode('extensions')->treatFalseLike([])->treatTrueLike([])->treatNullLike([])->useAttributeAsKey('name')->scalarPrototype()->end()->end()->arrayNode('public_key_credential_parameters')->integerPrototype()->end()->requiresAtLeastOneElement()->treatNullLike([])->treatFalseLike([])->treatTrueLike([])->defaultValue([])->end()->scalarNode('attestation_conveyance')->defaultValue(PublicKeyCredentialCreationOptions::ATTESTATION_CONVEYANCE_PREFERENCE_NONE)->end()->end()->end()->end()->end(); + })->end()->children()->scalarNode('authenticator_attachment')->defaultValue(AuthenticatorSelectionCriteria::AUTHENTICATOR_ATTACHMENT_NO_PREFERENCE)->validate()->ifNotInArray([AuthenticatorSelectionCriteria::AUTHENTICATOR_ATTACHMENT_NO_PREFERENCE, AuthenticatorSelectionCriteria::AUTHENTICATOR_ATTACHMENT_PLATFORM, AuthenticatorSelectionCriteria::AUTHENTICATOR_ATTACHMENT_CROSS_PLATFORM])->thenInvalid($errorTemplate)->end()->end()->booleanNode('require_resident_key')->defaultFalse()->end()->scalarNode('user_verification')->defaultValue(AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_PREFERRED)->validate()->ifNotInArray([AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_DISCOURAGED, AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_PREFERRED, AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_REQUIRED])->thenInvalid($errorTemplate)->end()->end()->scalarNode('resident_key')->defaultValue(AuthenticatorSelectionCriteria::RESIDENT_KEY_REQUIREMENT_PREFERRED)->validate()->ifNotInArray([AuthenticatorSelectionCriteria::RESIDENT_KEY_REQUIREMENT_DISCOURAGED, AuthenticatorSelectionCriteria::RESIDENT_KEY_REQUIREMENT_PREFERRED, AuthenticatorSelectionCriteria::RESIDENT_KEY_REQUIREMENT_REQUIRED])->thenInvalid($errorTemplate)->end()->end()->end()->end()->arrayNode('extensions')->treatFalseLike([])->treatTrueLike([])->treatNullLike([])->useAttributeAsKey('name')->scalarPrototype()->end()->end()->arrayNode('public_key_credential_parameters')->integerPrototype()->end()->requiresAtLeastOneElement()->treatNullLike([])->treatFalseLike([])->treatTrueLike([])->defaultValue([])->end()->scalarNode('attestation_conveyance')->defaultValue(PublicKeyCredentialCreationOptions::ATTESTATION_CONVEYANCE_PREFERENCE_NONE)->end()->end()->end()->end()->end(); } private function addRequestProfilesConfig(ArrayNodeDefinition $rootNode): void {
5️⃣ Mutation Testing: src/symfony/src/DependencyInjection/Configuration.php#L252
Escaped Mutant for Mutator "ArrayItemRemoval": @@ @@ private function addRequestProfilesConfig(ArrayNodeDefinition $rootNode): void { /** @noRector Rector\DeadCode\Rector\Assign\RemoveUnusedVariableAssignRector */ - $defaultRequestProfiles = ['default' => []]; + $defaultRequestProfiles = []; $rootNode->children()->arrayNode('request_profiles')->treatFalseLike($defaultRequestProfiles)->treatTrueLike($defaultRequestProfiles)->treatNullLike($defaultRequestProfiles)->useAttributeAsKey('name')->arrayPrototype()->addDefaultsIfNotSet()->children()->scalarNode('rp_id')->defaultNull()->end()->integerNode('challenge_length')->min(16)->defaultValue(32)->end()->integerNode('timeout')->min(0)->defaultNull()->end()->scalarNode('user_verification')->defaultValue(AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_PREFERRED)->end()->arrayNode('extensions')->treatFalseLike([])->treatTrueLike([])->treatNullLike([])->useAttributeAsKey('name')->scalarPrototype()->end()->end()->end()->end()->end()->end(); } private function addControllersConfig(ArrayNodeDefinition $rootNode): void
5️⃣ Mutation Testing: src/symfony/src/DependencyInjection/Configuration.php#L269
Escaped Mutant for Mutator "DecrementInteger": @@ @@ { /** @noRector Rector\DeadCode\Rector\Assign\RemoveUnusedVariableAssignRector */ $defaultRequestProfiles = ['default' => []]; - $rootNode->children()->arrayNode('request_profiles')->treatFalseLike($defaultRequestProfiles)->treatTrueLike($defaultRequestProfiles)->treatNullLike($defaultRequestProfiles)->useAttributeAsKey('name')->arrayPrototype()->addDefaultsIfNotSet()->children()->scalarNode('rp_id')->defaultNull()->end()->integerNode('challenge_length')->min(16)->defaultValue(32)->end()->integerNode('timeout')->min(0)->defaultNull()->end()->scalarNode('user_verification')->defaultValue(AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_PREFERRED)->end()->arrayNode('extensions')->treatFalseLike([])->treatTrueLike([])->treatNullLike([])->useAttributeAsKey('name')->scalarPrototype()->end()->end()->end()->end()->end()->end(); + $rootNode->children()->arrayNode('request_profiles')->treatFalseLike($defaultRequestProfiles)->treatTrueLike($defaultRequestProfiles)->treatNullLike($defaultRequestProfiles)->useAttributeAsKey('name')->arrayPrototype()->addDefaultsIfNotSet()->children()->scalarNode('rp_id')->defaultNull()->end()->integerNode('challenge_length')->min(15)->defaultValue(32)->end()->integerNode('timeout')->min(0)->defaultNull()->end()->scalarNode('user_verification')->defaultValue(AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_PREFERRED)->end()->arrayNode('extensions')->treatFalseLike([])->treatTrueLike([])->treatNullLike([])->useAttributeAsKey('name')->scalarPrototype()->end()->end()->end()->end()->end()->end(); } private function addControllersConfig(ArrayNodeDefinition $rootNode): void {
5️⃣ Mutation Testing: src/symfony/src/DependencyInjection/Configuration.php#L269
Escaped Mutant for Mutator "IncrementInteger": @@ @@ { /** @noRector Rector\DeadCode\Rector\Assign\RemoveUnusedVariableAssignRector */ $defaultRequestProfiles = ['default' => []]; - $rootNode->children()->arrayNode('request_profiles')->treatFalseLike($defaultRequestProfiles)->treatTrueLike($defaultRequestProfiles)->treatNullLike($defaultRequestProfiles)->useAttributeAsKey('name')->arrayPrototype()->addDefaultsIfNotSet()->children()->scalarNode('rp_id')->defaultNull()->end()->integerNode('challenge_length')->min(16)->defaultValue(32)->end()->integerNode('timeout')->min(0)->defaultNull()->end()->scalarNode('user_verification')->defaultValue(AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_PREFERRED)->end()->arrayNode('extensions')->treatFalseLike([])->treatTrueLike([])->treatNullLike([])->useAttributeAsKey('name')->scalarPrototype()->end()->end()->end()->end()->end()->end(); + $rootNode->children()->arrayNode('request_profiles')->treatFalseLike($defaultRequestProfiles)->treatTrueLike($defaultRequestProfiles)->treatNullLike($defaultRequestProfiles)->useAttributeAsKey('name')->arrayPrototype()->addDefaultsIfNotSet()->children()->scalarNode('rp_id')->defaultNull()->end()->integerNode('challenge_length')->min(17)->defaultValue(32)->end()->integerNode('timeout')->min(0)->defaultNull()->end()->scalarNode('user_verification')->defaultValue(AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_PREFERRED)->end()->arrayNode('extensions')->treatFalseLike([])->treatTrueLike([])->treatNullLike([])->useAttributeAsKey('name')->scalarPrototype()->end()->end()->end()->end()->end()->end(); } private function addControllersConfig(ArrayNodeDefinition $rootNode): void {
5️⃣ Mutation Testing: src/symfony/src/DependencyInjection/Configuration.php#L270
Escaped Mutant for Mutator "DecrementInteger": @@ @@ { /** @noRector Rector\DeadCode\Rector\Assign\RemoveUnusedVariableAssignRector */ $defaultRequestProfiles = ['default' => []]; - $rootNode->children()->arrayNode('request_profiles')->treatFalseLike($defaultRequestProfiles)->treatTrueLike($defaultRequestProfiles)->treatNullLike($defaultRequestProfiles)->useAttributeAsKey('name')->arrayPrototype()->addDefaultsIfNotSet()->children()->scalarNode('rp_id')->defaultNull()->end()->integerNode('challenge_length')->min(16)->defaultValue(32)->end()->integerNode('timeout')->min(0)->defaultNull()->end()->scalarNode('user_verification')->defaultValue(AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_PREFERRED)->end()->arrayNode('extensions')->treatFalseLike([])->treatTrueLike([])->treatNullLike([])->useAttributeAsKey('name')->scalarPrototype()->end()->end()->end()->end()->end()->end(); + $rootNode->children()->arrayNode('request_profiles')->treatFalseLike($defaultRequestProfiles)->treatTrueLike($defaultRequestProfiles)->treatNullLike($defaultRequestProfiles)->useAttributeAsKey('name')->arrayPrototype()->addDefaultsIfNotSet()->children()->scalarNode('rp_id')->defaultNull()->end()->integerNode('challenge_length')->min(16)->defaultValue(31)->end()->integerNode('timeout')->min(0)->defaultNull()->end()->scalarNode('user_verification')->defaultValue(AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_PREFERRED)->end()->arrayNode('extensions')->treatFalseLike([])->treatTrueLike([])->treatNullLike([])->useAttributeAsKey('name')->scalarPrototype()->end()->end()->end()->end()->end()->end(); } private function addControllersConfig(ArrayNodeDefinition $rootNode): void {
5️⃣ Mutation Testing: src/symfony/src/DependencyInjection/Configuration.php#L270
Escaped Mutant for Mutator "IncrementInteger": @@ @@ { /** @noRector Rector\DeadCode\Rector\Assign\RemoveUnusedVariableAssignRector */ $defaultRequestProfiles = ['default' => []]; - $rootNode->children()->arrayNode('request_profiles')->treatFalseLike($defaultRequestProfiles)->treatTrueLike($defaultRequestProfiles)->treatNullLike($defaultRequestProfiles)->useAttributeAsKey('name')->arrayPrototype()->addDefaultsIfNotSet()->children()->scalarNode('rp_id')->defaultNull()->end()->integerNode('challenge_length')->min(16)->defaultValue(32)->end()->integerNode('timeout')->min(0)->defaultNull()->end()->scalarNode('user_verification')->defaultValue(AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_PREFERRED)->end()->arrayNode('extensions')->treatFalseLike([])->treatTrueLike([])->treatNullLike([])->useAttributeAsKey('name')->scalarPrototype()->end()->end()->end()->end()->end()->end(); + $rootNode->children()->arrayNode('request_profiles')->treatFalseLike($defaultRequestProfiles)->treatTrueLike($defaultRequestProfiles)->treatNullLike($defaultRequestProfiles)->useAttributeAsKey('name')->arrayPrototype()->addDefaultsIfNotSet()->children()->scalarNode('rp_id')->defaultNull()->end()->integerNode('challenge_length')->min(16)->defaultValue(33)->end()->integerNode('timeout')->min(0)->defaultNull()->end()->scalarNode('user_verification')->defaultValue(AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_PREFERRED)->end()->arrayNode('extensions')->treatFalseLike([])->treatTrueLike([])->treatNullLike([])->useAttributeAsKey('name')->scalarPrototype()->end()->end()->end()->end()->end()->end(); } private function addControllersConfig(ArrayNodeDefinition $rootNode): void {
5️⃣ Mutation Testing: src/symfony/src/DependencyInjection/Configuration.php#L273
Escaped Mutant for Mutator "DecrementInteger": @@ @@ { /** @noRector Rector\DeadCode\Rector\Assign\RemoveUnusedVariableAssignRector */ $defaultRequestProfiles = ['default' => []]; - $rootNode->children()->arrayNode('request_profiles')->treatFalseLike($defaultRequestProfiles)->treatTrueLike($defaultRequestProfiles)->treatNullLike($defaultRequestProfiles)->useAttributeAsKey('name')->arrayPrototype()->addDefaultsIfNotSet()->children()->scalarNode('rp_id')->defaultNull()->end()->integerNode('challenge_length')->min(16)->defaultValue(32)->end()->integerNode('timeout')->min(0)->defaultNull()->end()->scalarNode('user_verification')->defaultValue(AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_PREFERRED)->end()->arrayNode('extensions')->treatFalseLike([])->treatTrueLike([])->treatNullLike([])->useAttributeAsKey('name')->scalarPrototype()->end()->end()->end()->end()->end()->end(); + $rootNode->children()->arrayNode('request_profiles')->treatFalseLike($defaultRequestProfiles)->treatTrueLike($defaultRequestProfiles)->treatNullLike($defaultRequestProfiles)->useAttributeAsKey('name')->arrayPrototype()->addDefaultsIfNotSet()->children()->scalarNode('rp_id')->defaultNull()->end()->integerNode('challenge_length')->min(16)->defaultValue(32)->end()->integerNode('timeout')->min(-1)->defaultNull()->end()->scalarNode('user_verification')->defaultValue(AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_PREFERRED)->end()->arrayNode('extensions')->treatFalseLike([])->treatTrueLike([])->treatNullLike([])->useAttributeAsKey('name')->scalarPrototype()->end()->end()->end()->end()->end()->end(); } private function addControllersConfig(ArrayNodeDefinition $rootNode): void {