From 3cc89badd312f644ee918bccbf7196e0f4157105 Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Sat, 4 Jan 2025 11:19:25 +0100 Subject: [PATCH] Update PHPStan baseline for new deprecation warnings Added deprecation warnings for `$icon` parameter in `PublicKeyCredentialEntity` per web-auth/webauthn-lib 5.1.0. This ensures accurate tracking of planned changes for future compatibility. --- phpstan-baseline.neon | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 6c289546..5dd59b8a 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -2100,6 +2100,12 @@ parameters: count: 1 path: src/webauthn/src/MetadataService/Statement/MetadataStatement.php + - + message: '#^Since web\-auth/webauthn\-lib 5\.1\.0\: The parameter "\$icon" is deprecated since 5\.1\.0 and will be removed in 6\.0\.0\. This value has no effect\. Please set "null" instead\.\.$#' + identifier: todoBy.sfDeprecation + count: 1 + path: src/webauthn/src/PublicKeyCredentialEntity.php + - message: '#^Parameter \#1 \$extensions of static method Webauthn\\AuthenticationExtensions\\AuthenticationExtensions\:\:create\(\) expects array\, array\ given\.$#' identifier: argument.type