Requre specific deps for GHA unit test run #73
php.yml
on: push
Annotations
13 errors and 17 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.
|
Unit tests, PHP 8.3, ubuntu-latest
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
|
Unit tests, PHP 8.2, windows-latest
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires web-token/jwt-framework 3.4 -> satisfiable by web-token/jwt-framework[3.4.0].
- web-token/jwt-framework 3.4.0 requires ext-sodium * -> it is missing from your system. Install or enable PHP's sodium extension.
Alternatively you can require one of these packages that provide the extension (or parts of it):
- paragonie/sodium_compat_ext_sodium
- juspay/expresscheckout-php-sdk Express Checkout SDK for PHP allows easy integration with Juspay's EC payments as a service platform
- vufind/vufind A flexible discovery layer.
To enable extensions, verify that they are enabled in your .ini files:
- C:\tools\php\php.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-sodium` to temporarily ignore these required extensions.
|
Unit tests, PHP 8.2, windows-latest
Process completed with exit code 1.
|
Unit tests, PHP 8.2, windows-latest
The job was canceled because "windows-latest_8_2__3_4" failed.
|
Unit tests, PHP 8.2, windows-latest
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires web-token/jwt-framework 4.0 -> satisfiable by web-token/jwt-framework[4.0.0].
- web-token/jwt-framework 4.0.0 requires php >=8.3 -> your php version (8.2.27) does not satisfy that requirement.
|
Unit tests, PHP 8.2, windows-latest
Process completed with exit code 1.
|
Unit tests, PHP 8.3, windows-latest
The job was canceled because "windows-latest_8_2__3_4" failed.
|
Unit tests, PHP 8.3, windows-latest
The operation was canceled.
|
Unit tests, PHP 8.3, windows-latest
The job was canceled because "windows-latest_8_2__3_4" failed.
|
Unit tests, PHP 8.3, windows-latest
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires web-token/jwt-framework 3.4 -> satisfiable by web-token/jwt-framework[3.4.0].
- web-token/jwt-framework 3.4.0 requires ext-sodium * -> it is missing from your system. Install or enable PHP's sodium extension.
Alternatively you can require one of these packages that provide the extension (or parts of it):
- paragonie/sodium_compat_ext_sodium
- juspay/expresscheckout-php-sdk Express Checkout SDK for PHP allows easy integration with Juspay's EC payments as a service platform
- vufind/vufind A flexible discovery layer.
To enable extensions, verify that they are enabled in your .ini files:
- C:\tools\php\php.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-sodium` to temporarily ignore these required extensions.
|
Unit tests, PHP 8.3, windows-latest
The operation was canceled.
|
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.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, 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, 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, ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage-data
|
15.3 MB |
|