Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update phpstan-baseline and GitHub workflow dependencies #604

Merged
merged 1 commit into from
Feb 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
publish_results: true

- name: "Upload artifact"
uses: actions/upload-artifact@v4.5.0
uses: actions/upload-artifact@v4.6.0
with:
name: SARIF file
path: results.sarif
Expand Down
26 changes: 16 additions & 10 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -4033,10 +4033,22 @@ parameters:
path: src/Bundle/Services/NestedTokenLoaderFactory.php

-
message: '#^Parameter &\$tag by\-ref type of method Jose\\Experimental\\ContentEncryption\\AESCCM\:\:encryptContent\(\) expects string\|null, mixed given\.$#'
identifier: parameterByRef.type
message: '#^Call to function is_string\(\) with null will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: src/Experimental/KeyEncryption/Chacha20Poly1305.php

-
message: '#^Result of \|\| is always true\.$#'
identifier: booleanOr.alwaysTrue
count: 1
path: src/Experimental/ContentEncryption/AESCCM.php
path: src/Experimental/KeyEncryption/Chacha20Poly1305.php

-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: src/Experimental/KeyEncryption/Chacha20Poly1305.php

-
message: '#^Invalid type object to throw\.$#'
Expand Down Expand Up @@ -4621,13 +4633,7 @@ parameters:
path: src/Library/Encryption/Algorithm/ContentEncryption/AESCBCHS.php

-
message: '#^Parameter &\$tag by\-ref type of method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESGCM\:\:encryptContent\(\) expects string\|null, mixed given\.$#'
identifier: parameterByRef.type
count: 1
path: src/Library/Encryption/Algorithm/ContentEncryption/AESGCM.php

-
message: '#^Parameter \#1 \$src of static method Jose\\Component\\Core\\Util\\Base64UrlSafe\:\:encodeUnpadded\(\) expects string, mixed given\.$#'
message: '#^Parameter \#1 \$src of static method Jose\\Component\\Core\\Util\\Base64UrlSafe\:\:encodeUnpadded\(\) expects string, string\|null given\.$#'
identifier: argument.type
count: 1
path: src/Library/Encryption/Algorithm/KeyEncryption/AESGCMKW.php
Expand Down