Skip to content

Update module to stay compatible with SimpleSAMLphp and PHP 8.3+ #65

Update module to stay compatible with SimpleSAMLphp and PHP 8.3+

Update module to stay compatible with SimpleSAMLphp and PHP 8.3+ #65

Triggered via pull request May 9, 2024 12:45
Status Failure
Total duration 1m 33s
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

6 errors and 1 warning
InvalidDocblock: src/Auth/Source/RateLimitUserPass.php#L104
src/Auth/Source/RateLimitUserPass.php:104:13: InvalidDocblock: Unrecognised annotation @psalm-ignore (see https://psalm.dev/008)
UnusedMethodCall: src/Auth/Source/RateLimitUserPass.php#L104
src/Auth/Source/RateLimitUserPass.php:104:22: UnusedMethodCall: The call to ReflectionMethod::setAccessible is not used (see https://psalm.dev/209)
MixedPropertyTypeCoercion: src/Limiters/IpLimiter.php#L26
src/Limiters/IpLimiter.php:26:28: MixedPropertyTypeCoercion: $this->whitelist expects 'array<array-key, string>', parent type `array<array-key, mixed>` provided (see https://psalm.dev/196)
InvalidDocblock: tests/src/Auth/Process/LoopDetectionTest.php#L65
tests/src/Auth/Process/LoopDetectionTest.php:65:9: InvalidDocblock: Unrecognised annotation @psalm-ignore (see https://psalm.dev/008)
UnusedMethodCall: tests/src/Auth/Process/LoopDetectionTest.php#L65
tests/src/Auth/Process/LoopDetectionTest.php:65:16: UnusedMethodCall: The call to ReflectionProperty::setAccessible is not used (see https://psalm.dev/209)
Quality control
Process completed with exit code 2.
PropertyNotSetInConstructor: tests/src/Limiters/DeviceCookieLimiterTest.php#L20
tests/src/Limiters/DeviceCookieLimiterTest.php:20: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)