Enhance key operations validation in UsageAnalyzer and add unit tests… #685
integrate.yml
on: push
3️⃣ Static Analysis
45s
4️⃣ Coding Standards
51s
5️⃣ Check licenses
38s
6️⃣ Rector Checkstyle
1m 19s
7️⃣ Exported files
4s
Matrix: 2️⃣ Unit and functional tests
Annotations
10 errors
|
5️⃣ Check licenses
Process completed with exit code 1.
|
|
3️⃣ Static Analysis
Process completed with exit code 1.
|
|
3️⃣ Static Analysis:
src/Library/KeyManagement/KeyConverter/KeyConverter.php#L0
Ignored error pattern #^Parameter \#1 \$certificate of static method Jose\\Component\\KeyManagement\\KeyConverter\\KeyConverter\:\:loadKeyFromCertificate\(\) expects string, mixed given\.$# (argument.type) in path /home/runner/work/jwt-framework/jwt-framework/src/Library/KeyManagement/KeyConverter/KeyConverter.php was not matched in reported errors.
|
|
3️⃣ Static Analysis:
src/Library/KeyManagement/Analyzer/UsageAnalyzer.php#L25
Ignored error pattern #^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$# (argument.type) in path /home/runner/work/jwt-framework/jwt-framework/src/Library/KeyManagement/Analyzer/UsageAnalyzer.php is expected to occur 2 times, but occurred only 1 time.
|
|
3️⃣ Static Analysis:
src/Library/Encryption/Algorithm/ContentEncryption/AESCBCHS.php#L0
Ignored error pattern #^Method Jose\\Component\\Encryption\\Algorithm\\ContentEncryption\\AESCBCHS\:\:encryptContent\(\) never assigns null to &\$tag so it can be removed from the by\-ref type\.$# (parameterByRef.unusedType) in path /home/runner/work/jwt-framework/jwt-framework/src/Library/Encryption/Algorithm/ContentEncryption/AESCBCHS.php was not matched in reported errors.
|
|
3️⃣ Static Analysis:
src/Library/Core/JWKSet.php#L100
Possibly invalid array key type mixed.
|
|
3️⃣ Static Analysis:
src/Library/Core/JWKSet.php#L60
Possibly invalid array key type mixed.
|
|
3️⃣ Static Analysis:
src/Library/Core/JWKSet.php#L37
Possibly invalid array key type mixed.
|
|
3️⃣ Static Analysis:
src/Bundle/DataCollector/KeyCollector.php#L83
Possibly invalid array key type mixed.
|
|
4️⃣ Coding Standards
Process completed with exit code 1.
|