Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0952387

Browse files
authored
Update phpstan-baseline and GitHub workflow dependencies (#604)
Adjusted phpstan-baseline to include new type checks and removed outdated references. Updated GitHub Actions workflow to use the latest version of the upload-artifact action (v4.6.0). These changes enhance code quality checks and maintain up-to-date dependencies.
1 parent c7ca3e9 commit 0952387

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

‎.github/workflows/scorecards.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
publish_results: true
3333

3434
- name: "Upload artifact"
35-
uses: actions/upload-artifact@v4.5.0
35+
uses: actions/upload-artifact@v4.6.0
3636
with:
3737
name: SARIF file
3838
path: results.sarif

‎phpstan-baseline.neon‎

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4033,10 +4033,22 @@ parameters:
40334033
path: src/Bundle/Services/NestedTokenLoaderFactory.php
40344034

40354035
-
4036-
message: '#^Parameter &\$tag by\-ref type of method Jose\\Experimental\\ContentEncryption\\AESCCM\:\:encryptContent\(\) expects string\|null, mixed given\.$#'
4037-
identifier: parameterByRef.type
4036+
message: '#^Call to function is_string\(\) with null will always evaluate to false\.$#'
4037+
identifier: function.impossibleType
4038+
count: 1
4039+
path: src/Experimental/KeyEncryption/Chacha20Poly1305.php
4040+
4041+
-
4042+
message: '#^Result of \|\| is always true\.$#'
4043+
identifier: booleanOr.alwaysTrue
40384044
count: 1
4039-
path: src/Experimental/ContentEncryption/AESCCM.php
4045+
path: src/Experimental/KeyEncryption/Chacha20Poly1305.php
4046+
4047+
-
4048+
message: '#^Unreachable statement \- code above always terminates\.$#'
4049+
identifier: deadCode.unreachable
4050+
count: 1
4051+
path: src/Experimental/KeyEncryption/Chacha20Poly1305.php
40404052

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

46234635
-
4624-
message: '#^Parameter &\$tag by\-ref type of method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESGCM\:\:encryptContent\(\) expects string\|null, mixed given\.$#'
4625-
identifier: parameterByRef.type
4626-
count: 1
4627-
path: src/Library/Encryption/Algorithm/ContentEncryption/AESGCM.php
4628-
4629-
-
4630-
message: '#^Parameter \#1 \$src of static method Jose\\Component\\Core\\Util\\Base64UrlSafe\:\:encodeUnpadded\(\) expects string, mixed given\.$#'
4636+
message: '#^Parameter \#1 \$src of static method Jose\\Component\\Core\\Util\\Base64UrlSafe\:\:encodeUnpadded\(\) expects string, string\|null given\.$#'
46314637
identifier: argument.type
46324638
count: 1
46334639
path: src/Library/Encryption/Algorithm/KeyEncryption/AESGCMKW.php

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /