Skip to content

Bump dependencies

Bump dependencies #91

Triggered via pull request February 14, 2025 18:49
Status Failure
Total duration 2m 37s
Artifacts

php.yml

on: pull_request
Matrix: unit-tests-linux
Matrix: unit-tests-windows
Code coverage
0s
Code coverage
Cleanup artifacts
0s
Cleanup artifacts
Fit to window
Zoom out
Zoom in

Annotations

28 errors and 14 warnings
PossiblyUnusedReturnValue: src/Auth/Source/RateLimitUserPass.php#L153
src/Auth/Source/RateLimitUserPass.php:153:16: PossiblyUnusedReturnValue: The return value for this method is never used (see https://psalm.dev/273)
UnusedClass: src/Controller/RateLimit.php#L17
src/Controller/RateLimit.php:17:7: UnusedClass: Class SimpleSAML\Module\ratelimit\Controller\RateLimit is never used (see https://psalm.dev/075)
PossiblyUnusedMethod: src/Limiters/IpLimiter.php#L65
src/Limiters/IpLimiter.php:65:21: PossiblyUnusedMethod: Cannot find any calls to method SimpleSAML\Module\ratelimit\Limiters\IpLimiter::getClientIpAddress (see https://psalm.dev/087)
PossiblyUnusedMethod: tests/Utils/BaseLimitTest.php#L79
tests/Utils/BaseLimitTest.php:79:21: PossiblyUnusedMethod: Cannot find any calls to method SimpleSAML\Test\Module\ratelimit\Utils\BaseLimitTest::testWindowExpiration (see https://psalm.dev/087)
PossiblyUnusedMethod: tests/Utils/BaseLimitTest.php#L102
tests/Utils/BaseLimitTest.php:102:21: PossiblyUnusedMethod: Cannot find any calls to method SimpleSAML\Test\Module\ratelimit\Utils\BaseLimitTest::testAllowAndFailure (see https://psalm.dev/087)
PossiblyUnusedMethod: tests/Utils/BaseLimitTest.php#L141
tests/Utils/BaseLimitTest.php:141:21: PossiblyUnusedMethod: Cannot find any calls to method SimpleSAML\Test\Module\ratelimit\Utils\BaseLimitTest::testDefaultSuccess (see https://psalm.dev/087)
PossiblyUnusedMethod: tests/Utils/BaseLimitTest.php#L154
tests/Utils/BaseLimitTest.php:154:30: PossiblyUnusedMethod: Cannot find any calls to method SimpleSAML\Test\Module\ratelimit\Utils\BaseLimitTest::testKeyVariesWithInput (see https://psalm.dev/087)
UnusedClass: tests/src/Auth/Process/LoopDetectionTest.php#L18
tests/src/Auth/Process/LoopDetectionTest.php:18:7: UnusedClass: Class SimpleSAML\Test\Module\ratelimit\Auth\Process\LoopDetectionTest is never used (see https://psalm.dev/075)
UnusedClass: tests/src/Auth/Source/RateLimitUserPassTest.php#L14
tests/src/Auth/Source/RateLimitUserPassTest.php:14:7: UnusedClass: Class SimpleSAML\Module\ratelimit\Auth\Source\RateLimitUserPassTest is never used (see https://psalm.dev/075)
UnusedClass: tests/src/Limiters/DeviceCookieLimiterTest.php#L16
tests/src/Limiters/DeviceCookieLimiterTest.php:16:7: UnusedClass: Class SimpleSAML\Test\Module\ratelimit\Limiters\DeviceCookieLimiterTest is never used (see https://psalm.dev/075)
PossiblyUnusedMethod: tests/Utils/BaseLimitTest.php#L79
tests/Utils/BaseLimitTest.php:79:21: PossiblyUnusedMethod: Cannot find any calls to method SimpleSAML\Test\Module\ratelimit\Utils\BaseLimitTest::testWindowExpiration (see https://psalm.dev/087)
PossiblyUnusedMethod: tests/Utils/BaseLimitTest.php#L102
tests/Utils/BaseLimitTest.php:102:21: PossiblyUnusedMethod: Cannot find any calls to method SimpleSAML\Test\Module\ratelimit\Utils\BaseLimitTest::testAllowAndFailure (see https://psalm.dev/087)
PossiblyUnusedMethod: tests/Utils/BaseLimitTest.php#L141
tests/Utils/BaseLimitTest.php:141:21: PossiblyUnusedMethod: Cannot find any calls to method SimpleSAML\Test\Module\ratelimit\Utils\BaseLimitTest::testDefaultSuccess (see https://psalm.dev/087)
PossiblyUnusedMethod: tests/Utils/BaseLimitTest.php#L154
tests/Utils/BaseLimitTest.php:154:30: PossiblyUnusedMethod: Cannot find any calls to method SimpleSAML\Test\Module\ratelimit\Utils\BaseLimitTest::testKeyVariesWithInput (see https://psalm.dev/087)
UnusedVariable: tests/config/config.php#L8
tests/config/config.php:8:1: UnusedVariable: $config is never referenced or the value is not used (see https://psalm.dev/077)
UnusedVariable: tests/docker/authsources.php#L3
tests/docker/authsources.php:3:1: UnusedVariable: $config is never referenced or the value is not used (see https://psalm.dev/077)
UnusedVariable: tests/docker/config-override.php#L5
tests/docker/config-override.php:5:1: UnusedVariable: $config is never referenced or the value is not used (see https://psalm.dev/077)
UnusedVariable: tests/docker/config-override.php#L7
tests/docker/config-override.php:7:1: UnusedVariable: $config is never referenced or the value is not used (see https://psalm.dev/077)
UnusedVariable: tests/docker/metadata/saml20-idp-hosted.php#L9
tests/docker/metadata/saml20-idp-hosted.php:9:1: UnusedVariable: $metadata is never referenced or the value is not used (see https://psalm.dev/077)
UnusedVariable: tests/docker/metadata/saml20-idp-remote.php#L3
tests/docker/metadata/saml20-idp-remote.php:3:1: UnusedVariable: $metadata is never referenced or the value is not used (see https://psalm.dev/077)
Unit tests, PHP 8.3, ubuntu-latest
Process completed with exit code 2.
Unit tests, PHP 8.2, ubuntu-latest
Process completed with exit code 2.
Unit tests, PHP 8.1, ubuntu-latest
Process completed with exit code 2.
Unit tests, PHP 8.1, windows-latest
Process completed with exit code 1.
Unit tests, PHP 8.3, windows-latest
The job was canceled because "windows-latest_8_1" failed.
Unit tests, PHP 8.3, windows-latest
Process completed with exit code 1.
Unit tests, PHP 8.2, windows-latest
The job was canceled because "windows-latest_8_1" failed.
Unit tests, PHP 8.2, windows-latest
The operation was canceled.
Security checks
Cache not found for keys: Linux-composer-, Linux-composer-
Quality control
Cache not found for keys: Linux-composer-, Linux-composer-
PropertyNotSetInConstructor: tests/src/Limiters/DeviceCookieLimiterTest.php#L21
tests/src/Limiters/DeviceCookieLimiterTest.php:21:13: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\ratelimit\Limiters\DeviceCookieLimiterTest::$mockHttp is not defined in constructor of SimpleSAML\Test\Module\ratelimit\Limiters\DeviceCookieLimiterTest or in any private or final methods called in the constructor (see https://psalm.dev/074)
PossiblyUndefinedGlobalVariable: tests/docker/config-override.php#L5
tests/docker/config-override.php:5:1: PossiblyUndefinedGlobalVariable: Possibly undefined global variable $config, first seen on line 5 (see https://psalm.dev/126)
PossiblyUndefinedGlobalVariable: tests/docker/metadata/saml20-idp-hosted.php#L9
tests/docker/metadata/saml20-idp-hosted.php:9:1: PossiblyUndefinedGlobalVariable: Possibly undefined global variable $metadata, first seen on line 9 (see https://psalm.dev/126)
PossiblyUndefinedGlobalVariable: tests/docker/metadata/saml20-idp-remote.php#L3
tests/docker/metadata/saml20-idp-remote.php:3:1: PossiblyUndefinedGlobalVariable: Possibly undefined global variable $metadata, first seen on line 3 (see https://psalm.dev/126)
PossiblyUndefinedGlobalVariable: tests/docker/metadata/saml20-sp-remote.php#L3
tests/docker/metadata/saml20-sp-remote.php:3:1: PossiblyUndefinedGlobalVariable: Possibly undefined global variable $metadata, first seen on line 3 (see https://psalm.dev/126)
PropertyNotSetInConstructor: tests/src/Limiters/DeviceCookieLimiterTest.php#L21
tests/src/Limiters/DeviceCookieLimiterTest.php:21:13: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\ratelimit\Limiters\DeviceCookieLimiterTest::$mockHttp is not defined in constructor of SimpleSAML\Test\Module\ratelimit\Limiters\DeviceCookieLimiterTest or in any private or final methods called in the constructor (see https://psalm.dev/074)
Unit tests, PHP 8.3, ubuntu-latest
Cache not found for keys: Linux-composer-, Linux-composer-
Unit tests, PHP 8.2, ubuntu-latest
Cache not found for keys: Linux-composer-, Linux-composer-
Unit tests, PHP 8.1, ubuntu-latest
Cache not found for keys: Linux-composer-, Linux-composer-
Unit tests, PHP 8.1, windows-latest
Cache not found for keys: Windows-composer-, Windows-composer-
Unit tests, PHP 8.3, windows-latest
Cache not found for keys: Windows-composer-, Windows-composer-
Unit tests, PHP 8.2, windows-latest
Cache not found for keys: Windows-composer-, Windows-composer-