Skip to content

Bump to phpstan level 8 #84

Bump to phpstan level 8

Bump to phpstan level 8 #84

Triggered via push January 24, 2025 19:16
Status Success
Total duration 2m 46s
Artifacts

php.yml

on: push
Matrix: unit-tests-linux
Matrix: unit-tests-windows
Code coverage
11s
Code coverage
Cleanup artifacts
2s
Cleanup artifacts
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 19 warnings
MissingClassConstType: src/Decorators/HttpClientDecorator.php#L16
src/Decorators/HttpClientDecorator.php:16:18: MissingClassConstType: Class constant "SimpleSAML\OpenID\Decorators\HttpClientDecorator::DEFAULT_HTTP_CLIENT_CONFIG" should have a declared type. (see https://psalm.dev/359)
Quality control
Process completed with exit code 2.
Security checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Quality control
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PossiblyNullReference: tests/src/Federation/EntityStatement/TrustMarkClaimBagTest.php#L71
tests/src/Federation/EntityStatement/TrustMarkClaimBagTest.php:71:68: PossiblyNullReference: Cannot call method getId on possibly null value (see https://psalm.dev/083)
RedundantCondition: tests/src/Federation/MetadataPolicyResolverTest.php#L91
tests/src/Federation/MetadataPolicyResolverTest.php:91:16: RedundantCondition: Type array<string, array<string, mixed>> for $metadataPolicy is always array<array-key, mixed> (see https://psalm.dev/122)
PossiblyNullReference: tests/src/Federation/TrustChainBagTest.php#L87
tests/src/Federation/TrustChainBagTest.php:87:15: PossiblyNullReference: Cannot call method getResolvedTrustAnchor on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: tests/src/Federation/TrustChainBagTest.php#L91
tests/src/Federation/TrustChainBagTest.php:91:15: PossiblyNullReference: Cannot call method getResolvedTrustAnchor on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: tests/src/Federation/TrustChainBagTest.php#L96
tests/src/Federation/TrustChainBagTest.php:96:15: PossiblyNullReference: Cannot call method getResolvedTrustAnchor on possibly null value (see https://psalm.dev/083)
MissingClosureReturnType: tests/src/Federation/TrustChainResolverTest.php#L101
tests/src/Federation/TrustChainResolverTest.php:101:17: MissingClosureReturnType: Closure does not have a return type, expecting mixed (see https://psalm.dev/068)
MissingClosureReturnType: tests/src/Federation/TrustChainResolverTest.php#L140
tests/src/Federation/TrustChainResolverTest.php:140:34: MissingClosureReturnType: Closure does not have a return type, expecting mixed (see https://psalm.dev/068)
MissingClosureReturnType: tests/src/Federation/TrustChainResolverTest.php#L165
tests/src/Federation/TrustChainResolverTest.php:165:34: MissingClosureReturnType: Closure does not have a return type, expecting mixed (see https://psalm.dev/068)
MissingClosureReturnType: tests/src/Federation/TrustChainResolverTest.php#L194
tests/src/Federation/TrustChainResolverTest.php:194:34: MissingClosureReturnType: Closure does not have a return type, expecting mixed (see https://psalm.dev/068)
MissingClosureReturnType: tests/src/Federation/TrustChainResolverTest.php#L213
tests/src/Federation/TrustChainResolverTest.php:213:34: MissingClosureReturnType: Closure does not have a return type, expecting mixed (see https://psalm.dev/068)
Linter
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests, PHP 8.3, JWT ^3.4, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests, PHP 8.2, JWT ^3.4, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests, PHP 8.2, JWT ^4.0.2, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests, PHP 8.3, JWT ^4.0.2, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Code coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Cleanup artifacts
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636