Update module to stay compatible with SimpleSAMLphp and PHP 8.3+ #65
php.yml
on: pull_request
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)
|