diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 7d07aff6..87372b78 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -623,6 +623,14 @@ parameters: count: 1 path: src/symfony/src/Controller/AssertionControllerFactory.php + - + message: """ + #^Parameter \\$publicKeyCredentialLoader of method Webauthn\\\\Bundle\\\\Controller\\\\AssertionControllerFactory\\:\\:__construct\\(\\) has typehint with deprecated class Webauthn\\\\PublicKeyCredentialLoader\\: + since 4\\.8\\.0 and will be removed in 5\\.0\\.0\\. Please use the Symfony serializer instead$# + """ + count: 1 + path: src/symfony/src/Controller/AssertionControllerFactory.php + - message: "#^Parameter \\$publicKeyCredentialSourceRepository of method Webauthn\\\\Bundle\\\\Controller\\\\AssertionControllerFactory\\:\\:__construct\\(\\) has typehint with deprecated interface Webauthn\\\\PublicKeyCredentialSourceRepository\\.$#" count: 1 @@ -646,6 +654,22 @@ parameters: count: 1 path: src/symfony/src/Controller/AssertionResponseController.php + - + message: """ + #^Parameter \\$publicKeyCredentialLoader of method Webauthn\\\\Bundle\\\\Controller\\\\AssertionResponseController\\:\\:__construct\\(\\) has typehint with deprecated class Webauthn\\\\PublicKeyCredentialLoader\\: + since 4\\.8\\.0 and will be removed in 5\\.0\\.0\\. Please use the Symfony serializer instead$# + """ + count: 1 + path: src/symfony/src/Controller/AssertionResponseController.php + + - + message: """ + #^Parameter \\$publicKeyCredentialLoader of method Webauthn\\\\Bundle\\\\Controller\\\\AttestationControllerFactory\\:\\:__construct\\(\\) has typehint with deprecated class Webauthn\\\\PublicKeyCredentialLoader\\: + since 4\\.8\\.0 and will be removed in 5\\.0\\.0\\. Please use the Symfony serializer instead$# + """ + count: 1 + path: src/symfony/src/Controller/AttestationControllerFactory.php + - message: "#^Parameter \\$publicKeyCredentialSourceRepository of method Webauthn\\\\Bundle\\\\Controller\\\\AttestationControllerFactory\\:\\:__construct\\(\\) has typehint with deprecated interface Webauthn\\\\PublicKeyCredentialSourceRepository\\.$#" count: 1 @@ -684,6 +708,14 @@ parameters: count: 1 path: src/symfony/src/Controller/AttestationResponseController.php + - + message: """ + #^Parameter \\$publicKeyCredentialLoader of method Webauthn\\\\Bundle\\\\Controller\\\\AttestationResponseController\\:\\:__construct\\(\\) has typehint with deprecated class Webauthn\\\\PublicKeyCredentialLoader\\: + since 4\\.8\\.0 and will be removed in 5\\.0\\.0\\. Please use the Symfony serializer instead$# + """ + count: 1 + path: src/symfony/src/Controller/AttestationResponseController.php + - message: """ #^Access to deprecated property \\$authenticatorSelection of class Webauthn\\\\Bundle\\\\Dto\\\\PublicKeyCredentialCreationOptionsRequest\\: @@ -1143,6 +1175,14 @@ parameters: count: 1 path: src/symfony/src/Repository/PublicKeyCredentialSourceRepository.php + - + message: """ + #^Fetching class constant class of deprecated class Webauthn\\\\PublicKeyCredentialLoader\\: + since 4\\.8\\.0 and will be removed in 5\\.0\\.0\\. Please use the Symfony serializer instead$# + """ + count: 1 + path: src/symfony/src/Resources/config/services.php + - message: "#^Fetching class constant class of deprecated class Webauthn\\\\PublicKeyCredentialSourceRepository\\.$#" count: 2 @@ -1299,6 +1339,14 @@ parameters: count: 2 path: src/symfony/src/Security/Http/Authenticator/WebauthnAuthenticator.php + - + message: """ + #^Parameter \\$publicKeyCredentialLoader of method Webauthn\\\\Bundle\\\\Security\\\\Http\\\\Authenticator\\\\WebauthnAuthenticator\\:\\:__construct\\(\\) has typehint with deprecated class Webauthn\\\\PublicKeyCredentialLoader\\: + since 4\\.8\\.0 and will be removed in 5\\.0\\.0\\. Please use the Symfony serializer instead$# + """ + count: 1 + path: src/symfony/src/Security/Http/Authenticator/WebauthnAuthenticator.php + - message: "#^Parameter \\$publicKeyCredentialSourceRepository of method Webauthn\\\\Bundle\\\\Security\\\\Http\\\\Authenticator\\\\WebauthnAuthenticator\\:\\:__construct\\(\\) has typehint with deprecated interface Webauthn\\\\PublicKeyCredentialSourceRepository\\.$#" count: 1 @@ -2178,6 +2226,21 @@ parameters: count: 1 path: src/webauthn/src/Denormalizer/AttestationObjectDenormalizer.php + - + message: "#^Parameter \\#1 \\$rawAttestationObject of static method Webauthn\\\\AttestationStatement\\\\AttestationObject\\:\\:create\\(\\) expects string, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/AttestationObjectDenormalizer.php + + - + message: "#^Parameter \\#2 \\$attStmt of static method Webauthn\\\\AttestationStatement\\\\AttestationObject\\:\\:create\\(\\) expects Webauthn\\\\AttestationStatement\\\\AttestationStatement, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/AttestationObjectDenormalizer.php + + - + message: "#^Parameter \\#3 \\$authData of static method Webauthn\\\\AttestationStatement\\\\AttestationObject\\:\\:create\\(\\) expects Webauthn\\\\AuthenticatorData, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/AttestationObjectDenormalizer.php + - message: "#^Cannot access offset 'fmt' on mixed\\.$#" count: 1 @@ -2239,24 +2302,34 @@ parameters: count: 1 path: src/webauthn/src/Denormalizer/AuthenticationExtensionsDenormalizer.php + - + message: "#^Parameter \\#1 \\$extensions of static method Webauthn\\\\AuthenticationExtensions\\\\AuthenticationExtensions\\:\\:create\\(\\) expects array\\, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/AuthenticationExtensionsDenormalizer.php + + - + message: "#^Cannot access offset 'attestationObject' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/AuthenticatorAssertionResponseDenormalizer.php + - message: "#^Cannot access offset 'authenticatorData' on mixed\\.$#" - count: 2 + count: 3 path: src/webauthn/src/Denormalizer/AuthenticatorAssertionResponseDenormalizer.php - message: "#^Cannot access offset 'clientDataJSON' on mixed\\.$#" - count: 2 + count: 3 path: src/webauthn/src/Denormalizer/AuthenticatorAssertionResponseDenormalizer.php - message: "#^Cannot access offset 'signature' on mixed\\.$#" - count: 2 + count: 3 path: src/webauthn/src/Denormalizer/AuthenticatorAssertionResponseDenormalizer.php - message: "#^Cannot access offset 'userHandle' on mixed\\.$#" - count: 2 + count: 3 path: src/webauthn/src/Denormalizer/AuthenticatorAssertionResponseDenormalizer.php - @@ -2269,6 +2342,11 @@ parameters: count: 1 path: src/webauthn/src/Denormalizer/AuthenticatorAssertionResponseDenormalizer.php + - + message: "#^Parameter \\#1 \\$clientDataJSON of static method Webauthn\\\\AuthenticatorAssertionResponse\\:\\:create\\(\\) expects Webauthn\\\\CollectedClientData, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/AuthenticatorAssertionResponseDenormalizer.php + - message: "#^Parameter \\#1 \\$data of static method Webauthn\\\\Util\\\\Base64\\:\\:decode\\(\\) expects string, mixed given\\.$#" count: 3 @@ -2279,6 +2357,26 @@ parameters: count: 1 path: src/webauthn/src/Denormalizer/AuthenticatorAssertionResponseDenormalizer.php + - + message: "#^Parameter \\#2 \\$authenticatorData of static method Webauthn\\\\AuthenticatorAssertionResponse\\:\\:create\\(\\) expects Webauthn\\\\AuthenticatorData, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/AuthenticatorAssertionResponseDenormalizer.php + + - + message: "#^Parameter \\#3 \\$signature of static method Webauthn\\\\AuthenticatorAssertionResponse\\:\\:create\\(\\) expects string, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/AuthenticatorAssertionResponseDenormalizer.php + + - + message: "#^Parameter \\#4 \\$userHandle of static method Webauthn\\\\AuthenticatorAssertionResponse\\:\\:create\\(\\) expects string\\|null, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/AuthenticatorAssertionResponseDenormalizer.php + + - + message: "#^Parameter \\#5 \\$attestationObject of static method Webauthn\\\\AuthenticatorAssertionResponse\\:\\:create\\(\\) expects Webauthn\\\\AttestationStatement\\\\AttestationObject\\|null, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/AuthenticatorAssertionResponseDenormalizer.php + - message: "#^Cannot access offset 'attestationObject' on mixed\\.$#" count: 2 @@ -2286,7 +2384,12 @@ parameters: - message: "#^Cannot access offset 'clientDataJSON' on mixed\\.$#" - count: 2 + count: 3 + path: src/webauthn/src/Denormalizer/AuthenticatorAttestationResponseDenormalizer.php + + - + message: "#^Cannot access offset 'transports' on mixed\\.$#" + count: 1 path: src/webauthn/src/Denormalizer/AuthenticatorAttestationResponseDenormalizer.php - @@ -2299,6 +2402,11 @@ parameters: count: 1 path: src/webauthn/src/Denormalizer/AuthenticatorAttestationResponseDenormalizer.php + - + message: "#^Parameter \\#1 \\$clientDataJSON of static method Webauthn\\\\AuthenticatorAttestationResponse\\:\\:create\\(\\) expects Webauthn\\\\CollectedClientData, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/AuthenticatorAttestationResponseDenormalizer.php + - message: "#^Parameter \\#1 \\$data of static method Webauthn\\\\Util\\\\Base64\\:\\:decode\\(\\) expects string, mixed given\\.$#" count: 1 @@ -2309,6 +2417,16 @@ parameters: count: 1 path: src/webauthn/src/Denormalizer/AuthenticatorAttestationResponseDenormalizer.php + - + message: "#^Parameter \\#2 \\$attestationObject of static method Webauthn\\\\AuthenticatorAttestationResponse\\:\\:create\\(\\) expects Webauthn\\\\AttestationStatement\\\\AttestationObject, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/AuthenticatorAttestationResponseDenormalizer.php + + - + message: "#^Parameter \\#3 \\$transports of static method Webauthn\\\\AuthenticatorAttestationResponse\\:\\:create\\(\\) expects array\\, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/AuthenticatorAttestationResponseDenormalizer.php + - message: "#^Cannot access offset 1 on array\\|false\\.$#" count: 2 @@ -2349,6 +2467,11 @@ parameters: count: 1 path: src/webauthn/src/Denormalizer/AuthenticatorDataDenormalizer.php + - + message: "#^Parameter \\#6 \\$extensions of static method Webauthn\\\\AuthenticatorData\\:\\:create\\(\\) expects Webauthn\\\\AuthenticationExtensions\\\\AuthenticationExtensions\\|null, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/AuthenticatorDataDenormalizer.php + - message: "#^Method Webauthn\\\\Denormalizer\\\\AuthenticatorResponseDenormalizer\\:\\:denormalize\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 @@ -2379,6 +2502,16 @@ parameters: count: 1 path: src/webauthn/src/Denormalizer/CollectedClientDataDenormalizer.php + - + message: "#^Parameter \\#1 \\$rawData of static method Webauthn\\\\CollectedClientData\\:\\:create\\(\\) expects string, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/CollectedClientDataDenormalizer.php + + - + message: "#^Parameter \\#2 \\$data of static method Webauthn\\\\CollectedClientData\\:\\:create\\(\\) expects array, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/CollectedClientDataDenormalizer.php + - message: "#^Method Webauthn\\\\Denormalizer\\\\PublicKeyCredentialDenormalizer\\:\\:denormalize\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 @@ -2394,21 +2527,86 @@ parameters: count: 1 path: src/webauthn/src/Denormalizer/PublicKeyCredentialDenormalizer.php + - + message: "#^Parameter \\#4 \\$response of static method Webauthn\\\\PublicKeyCredential\\:\\:create\\(\\) expects Webauthn\\\\AuthenticatorResponse, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialDenormalizer.php + - message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#" count: 1 path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + - + message: "#^Cannot access offset 'allowCredentials' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + - message: "#^Cannot access offset 'allowCredentials'\\|'excludeCredentials' on mixed\\.$#" count: 1 path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + - + message: "#^Cannot access offset 'attestation' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + + - + message: "#^Cannot access offset 'authenticatorSelect…' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + + - + message: "#^Cannot access offset 'challenge' on mixed\\.$#" + count: 2 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + + - + message: "#^Cannot access offset 'excludeCredentials' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + + - + message: "#^Cannot access offset 'extensions' on mixed\\.$#" + count: 2 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + - message: "#^Cannot access offset 'id' on mixed\\.$#" count: 2 path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + - + message: "#^Cannot access offset 'pubKeyCredParams' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + + - + message: "#^Cannot access offset 'rp' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + + - + message: "#^Cannot access offset 'rpId' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + + - + message: "#^Cannot access offset 'timeout' on mixed\\.$#" + count: 2 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + + - + message: "#^Cannot access offset 'user' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + + - + message: "#^Cannot access offset 'userVerification' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + - message: "#^Cannot access offset mixed on mixed\\.$#" count: 1 @@ -2424,16 +2622,176 @@ parameters: count: 1 path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + - + message: "#^Parameter \\#1 \\$challenge of static method Webauthn\\\\PublicKeyCredentialRequestOptions\\:\\:create\\(\\) expects string, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + - message: "#^Parameter \\#1 \\$encodedString of static method ParagonIE\\\\ConstantTime\\\\Base64\\:\\:decodeNoPadding\\(\\) expects string, mixed given\\.$#" count: 1 path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + - + message: "#^Parameter \\#1 \\$rp of static method Webauthn\\\\PublicKeyCredentialCreationOptions\\:\\:create\\(\\) expects Webauthn\\\\PublicKeyCredentialRpEntity, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + - message: "#^Parameter \\#2 \\$array of function array_key_exists expects array, mixed given\\.$#" count: 2 path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + - + message: "#^Parameter \\#2 \\$rpId of static method Webauthn\\\\PublicKeyCredentialRequestOptions\\:\\:create\\(\\) expects string\\|null, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + + - + message: "#^Parameter \\#2 \\$user of static method Webauthn\\\\PublicKeyCredentialCreationOptions\\:\\:create\\(\\) expects Webauthn\\\\PublicKeyCredentialUserEntity, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + + - + message: "#^Parameter \\#3 \\$allowCredentials of static method Webauthn\\\\PublicKeyCredentialRequestOptions\\:\\:create\\(\\) expects array\\, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + + - + message: "#^Parameter \\#3 \\$challenge of static method Webauthn\\\\PublicKeyCredentialCreationOptions\\:\\:create\\(\\) expects string, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + + - + message: "#^Parameter \\#4 \\$pubKeyCredParams of static method Webauthn\\\\PublicKeyCredentialCreationOptions\\:\\:create\\(\\) expects array\\, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + + - + message: "#^Parameter \\#4 \\$userVerification of static method Webauthn\\\\PublicKeyCredentialRequestOptions\\:\\:create\\(\\) expects string\\|null, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + + - + message: "#^Parameter \\#5 \\$authenticatorSelection of static method Webauthn\\\\PublicKeyCredentialCreationOptions\\:\\:create\\(\\) expects Webauthn\\\\AuthenticatorSelectionCriteria\\|null, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + + - + message: "#^Parameter \\#5 \\$timeout of static method Webauthn\\\\PublicKeyCredentialRequestOptions\\:\\:create\\(\\) expects int\\<1, max\\>\\|null, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + + - + message: "#^Parameter \\#6 \\$attestation of static method Webauthn\\\\PublicKeyCredentialCreationOptions\\:\\:create\\(\\) expects string\\|null, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + + - + message: "#^Parameter \\#6 \\$extensions of static method Webauthn\\\\PublicKeyCredentialRequestOptions\\:\\:create\\(\\) expects array\\\\|Webauthn\\\\AuthenticationExtensions\\\\AuthenticationExtensions\\|null, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + + - + message: "#^Parameter \\#7 \\$excludeCredentials of static method Webauthn\\\\PublicKeyCredentialCreationOptions\\:\\:create\\(\\) expects array\\, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + + - + message: "#^Parameter \\#8 \\$timeout of static method Webauthn\\\\PublicKeyCredentialCreationOptions\\:\\:create\\(\\) expects int\\<1, max\\>\\|null, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + + - + message: "#^Parameter \\#9 \\$extensions of static method Webauthn\\\\PublicKeyCredentialCreationOptions\\:\\:create\\(\\) expects Webauthn\\\\AuthenticationExtensions\\\\AuthenticationExtensions\\|null, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialOptionsDenormalizer.php + + - + message: "#^Method Webauthn\\\\Denormalizer\\\\PublicKeyCredentialParametersDenormalizer\\:\\:denormalize\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialParametersDenormalizer.php + + - + message: "#^Method Webauthn\\\\Denormalizer\\\\PublicKeyCredentialParametersDenormalizer\\:\\:supportsDenormalization\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialParametersDenormalizer.php + + - + message: "#^Parameter \\#2 \\$array of function array_key_exists expects array, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialParametersDenormalizer.php + + - + message: "#^Call to static method create\\(\\) on an unknown class InvalidDataException\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Cannot access offset 'aaguid' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Cannot access offset 'attestationType' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Cannot access offset 'backupEligible' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Cannot access offset 'backupStatus' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Cannot access offset 'counter' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Cannot access offset 'credentialPublicKey' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Cannot access offset 'otherUI' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Cannot access offset 'publicKeyCredential…' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Cannot access offset 'transports' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Cannot access offset 'trustPath' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Cannot access offset 'type' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Cannot access offset 'userHandle' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Cannot access offset 'uvInitialized' on mixed\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + - message: "#^Method Webauthn\\\\Denormalizer\\\\PublicKeyCredentialSourceDenormalizer\\:\\:denormalize\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 @@ -2449,11 +2807,76 @@ parameters: count: 1 path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + - + message: "#^Parameter \\#1 \\$publicKeyCredentialId of static method Webauthn\\\\PublicKeyCredentialSource\\:\\:create\\(\\) expects string, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Parameter \\#1 \\$uuid of static method Symfony\\\\Component\\\\Uid\\\\Uuid\\:\\:fromString\\(\\) expects string, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Parameter \\#10 \\$otherUI of static method Webauthn\\\\PublicKeyCredentialSource\\:\\:create\\(\\) expects array\\\\|null, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Parameter \\#11 \\$backupEligible of static method Webauthn\\\\PublicKeyCredentialSource\\:\\:create\\(\\) expects bool\\|null, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Parameter \\#12 \\$backupStatus of static method Webauthn\\\\PublicKeyCredentialSource\\:\\:create\\(\\) expects bool\\|null, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Parameter \\#13 \\$uvInitialized of static method Webauthn\\\\PublicKeyCredentialSource\\:\\:create\\(\\) expects bool\\|null, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + - message: "#^Parameter \\#2 \\$array of function array_key_exists expects array, mixed given\\.$#" count: 1 path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + - + message: "#^Parameter \\#2 \\$type of static method Webauthn\\\\PublicKeyCredentialSource\\:\\:create\\(\\) expects string, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Parameter \\#3 \\$transports of static method Webauthn\\\\PublicKeyCredentialSource\\:\\:create\\(\\) expects array\\, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Parameter \\#4 \\$attestationType of static method Webauthn\\\\PublicKeyCredentialSource\\:\\:create\\(\\) expects string, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Parameter \\#5 \\$trustPath of static method Webauthn\\\\PublicKeyCredentialSource\\:\\:create\\(\\) expects Webauthn\\\\TrustPath\\\\TrustPath, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Parameter \\#7 \\$credentialPublicKey of static method Webauthn\\\\PublicKeyCredentialSource\\:\\:create\\(\\) expects string, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Parameter \\#8 \\$userHandle of static method Webauthn\\\\PublicKeyCredentialSource\\:\\:create\\(\\) expects string, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + + - + message: "#^Parameter \\#9 \\$counter of static method Webauthn\\\\PublicKeyCredentialSource\\:\\:create\\(\\) expects int, mixed given\\.$#" + count: 1 + path: src/webauthn/src/Denormalizer/PublicKeyCredentialSourceDenormalizer.php + - message: "#^Method Webauthn\\\\Denormalizer\\\\PublicKeyCredentialUserEntityDenormalizer\\:\\:denormalize\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 @@ -2519,14 +2942,6 @@ parameters: count: 1 path: src/webauthn/src/PublicKeyCredentialDescriptorCollection.php - - - message: """ - #^Call to deprecated method loadArray\\(\\) of class Webauthn\\\\PublicKeyCredentialLoader\\: - since 4\\.8\\.0 and will be removed in 5\\.0\\.0\\. Please use \\{self\\:\\:load\\} instead$# - """ - count: 1 - path: src/webauthn/src/PublicKeyCredentialLoader.php - - message: "#^Cannot call method load\\(\\) on Webauthn\\\\AttestationStatement\\\\AttestationObjectLoader\\|null\\.$#" count: 1