Skip to content

Commit

Permalink
Update PHPStan baseline for new deprecation warnings
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Spomky committed Jan 4, 2025
1 parent 5a43790 commit 3cc89ba
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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\<Webauthn\\AuthenticationExtensions\\AuthenticationExtension\>, array\<Webauthn\\AuthenticationExtensions\\AuthenticationExtensions\> given\.$#'
identifier: argument.type
Expand Down

0 comments on commit 3cc89ba

Please # to comment.