From da6f6ce8dcdc244c40c8c399ced2134a36cdfecf Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Sat, 15 Jul 2023 16:28:14 +0200 Subject: [PATCH] Fix typos --- src/symfony/src/Resources/config/cose.php | 150 ++++++++++++++++++++-- 1 file changed, 136 insertions(+), 14 deletions(-) diff --git a/src/symfony/src/Resources/config/cose.php b/src/symfony/src/Resources/config/cose.php index 69dbc240..f2e64e5e 100644 --- a/src/symfony/src/Resources/config/cose.php +++ b/src/symfony/src/Resources/config/cose.php @@ -30,48 +30,170 @@ ->class(Manager::class); $container - ->set('webauthn.cose.algoritm.RS1') + ->set('webauthn.cose.algorithm.RS1') ->class(RS1::class); $container - ->set('webauthn.cose.algoritm.RS256') + ->alias('webauthn.cose.algoritm.RS1', 'webauthn.cose.algorithm.RS1') + ->deprecate( + 'web-auth/webauthn-symfony-bundle', + '4.7.0', + 'The "%alias_id%" service alias is deprecated, use "%service_id%" instead.' + ) + ; + + $container + ->set('webauthn.cose.algorithm.RS256') ->class(RS256::class); $container - ->set('webauthn.cose.algoritm.RS384') + ->alias('webauthn.cose.algoritm.RS256', 'webauthn.cose.algorithm.RS256') + ->deprecate( + 'web-auth/webauthn-symfony-bundle', + '4.7.0', + 'The "%alias_id%" service alias is deprecated, use "%service_id%" instead.' + ) + ; + + $container + ->set('webauthn.cose.algorithm.RS384') ->class(RS384::class); $container - ->set('webauthn.cose.algoritm.RS512') + ->alias('webauthn.cose.algoritm.RS384', 'webauthn.cose.algorithm.RS384') + ->deprecate( + 'web-auth/webauthn-symfony-bundle', + '4.7.0', + 'The "%alias_id%" service alias is deprecated, use "%service_id%" instead.' + ) + ; + + $container + ->set('webauthn.cose.algorithm.RS512') ->class(RS512::class); + $container + ->alias('webauthn.cose.algoritm.RS512', 'webauthn.cose.algorithm.RS512') + ->deprecate( + 'web-auth/webauthn-symfony-bundle', + '4.7.0', + 'The "%alias_id%" service alias is deprecated, use "%service_id%" instead.' + ) + ; $container - ->set('webauthn.cose.algoritm.PS256') + ->set('webauthn.cose.algorithm.PS256') ->class(PS256::class); $container - ->set('webauthn.cose.algoritm.PS384') + ->alias('webauthn.cose.algoritm.PS256', 'webauthn.cose.algorithm.PS256') + ->deprecate( + 'web-auth/webauthn-symfony-bundle', + '4.7.0', + 'The "%alias_id%" service alias is deprecated, use "%service_id%" instead.' + ) + ; + + $container + ->set('webauthn.cose.algorithm.PS384') ->class(PS384::class); $container - ->set('webauthn.cose.algoritm.PS512') + ->alias('webauthn.cose.algoritm.PS384', 'webauthn.cose.algorithm.PS384') + ->deprecate( + 'web-auth/webauthn-symfony-bundle', + '4.7.0', + 'The "%alias_id%" service alias is deprecated, use "%service_id%" instead.' + ) + ; + + $container + ->set('webauthn.cose.algorithm.PS512') ->class(PS512::class); + $container + ->alias('webauthn.cose.algoritm.PS512', 'webauthn.cose.algorithm.PS512') + ->deprecate( + 'web-auth/webauthn-symfony-bundle', + '4.7.0', + 'The "%alias_id%" service alias is deprecated, use "%service_id%" instead.' + ) + ; $container - ->set('webauthn.cose.algoritm.ES256K') + ->set('webauthn.cose.algorithm.ES256K') ->class(ES256K::class); $container - ->set('webauthn.cose.algoritm.ES256') + ->alias('webauthn.cose.algoritm.ES256K', 'webauthn.cose.algorithm.ES256K') + ->deprecate( + 'web-auth/webauthn-symfony-bundle', + '4.7.0', + 'The "%alias_id%" service alias is deprecated, use "%service_id%" instead.' + ) + ; + + $container + ->set('webauthn.cose.algorithm.ES256') ->class(ES256::class); $container - ->set('webauthn.cose.algoritm.ES384') + ->alias('webauthn.cose.algoritm.ES256', 'webauthn.cose.algorithm.ES256') + ->deprecate( + 'web-auth/webauthn-symfony-bundle', + '4.7.0', + 'The "%alias_id%" service alias is deprecated, use "%service_id%" instead.' + ) + ; + + $container + ->set('webauthn.cose.algorithm.ES384') ->class(ES384::class); $container - ->set('webauthn.cose.algoritm.ES512') + ->alias('webauthn.cose.algoritm.ES384', 'webauthn.cose.algorithm.ES384') + ->deprecate( + 'web-auth/webauthn-symfony-bundle', + '4.7.0', + 'The "%alias_id%" service alias is deprecated, use "%service_id%" instead.' + ) + ; + + $container + ->set('webauthn.cose.algorithm.ES512') ->class(ES512::class); + $container + ->alias('webauthn.cose.algoritm.ES512', 'webauthn.cose.algorithm.ES512') + ->deprecate( + 'web-auth/webauthn-symfony-bundle', + '4.7.0', + 'The "%alias_id%" service alias is deprecated, use "%service_id%" instead.' + ) + ; $container - ->set('webauthn.cose.algoritm.ED256') + ->set('webauthn.cose.algorithm.ED256') ->class(Ed256::class); $container - ->set('webauthn.cose.algoritm.ED512') + ->alias('webauthn.cose.algoritm.ED256', 'webauthn.cose.algorithm.ED256') + ->deprecate( + 'web-auth/webauthn-symfony-bundle', + '4.7.0', + 'The "%alias_id%" service alias is deprecated, use "%service_id%" instead.' + ) + ; + + $container + ->set('webauthn.cose.algorithm.ED512') ->class(Ed512::class); $container - ->set('webauthn.cose.algoritm.Ed25519ph') + ->alias('webauthn.cose.algoritm.ED512', 'webauthn.cose.algorithm.ED512') + ->deprecate( + 'web-auth/webauthn-symfony-bundle', + '4.7.0', + 'The "%alias_id%" service alias is deprecated, use "%service_id%" instead.' + ) + ; + + $container + ->set('webauthn.cose.algorithm.Ed25519ph') ->class(Ed25519::class); + $container + ->alias('webauthn.cose.algoritm.Ed25519ph', 'webauthn.cose.algorithm.Ed25519ph') + ->deprecate( + 'web-auth/webauthn-symfony-bundle', + '4.7.0', + 'The "%alias_id%" service alias is deprecated, use "%service_id%" instead.' + ) + ; };