Skip to content

fix PHPUnit static calls #38

fix PHPUnit static calls

fix PHPUnit static calls #38

Triggered via push December 3, 2024 01:02
Status Failure
Total duration 1m 6s
Artifacts

test-unit.yml

on: push
Matrix: Smoke
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 9 warnings
Smoke (latest, StaticAnalysis): src/exception/PhpLockException.php#L19
Interface malkusch\lock\exception\PhpLockException has PHPDoc tag @method for method getTrace() return type with no value type specified in iterable type array.
Smoke (latest, StaticAnalysis): src/mutex/CASMutex.php#L81
Method malkusch\lock\mutex\CASMutex::synchronized() overrides method malkusch\lock\mutex\Mutex::synchronized() but is missing the #[\Override] attribute.
Smoke (latest, StaticAnalysis): src/mutex/FlockMutex.php#L118
Method malkusch\lock\mutex\FlockMutex::lockBusy() has no return type specified.
Smoke (latest, StaticAnalysis): src/mutex/FlockMutex.php#L134
Only booleans are allowed in an if condition, int given.
Smoke (latest, StaticAnalysis): src/mutex/FlockMutex.php#L149
Method malkusch\lock\mutex\FlockMutex::lock() overrides method malkusch\lock\mutex\LockMutex::lock() but is missing the #[\Override] attribute.
Smoke (latest, StaticAnalysis): src/mutex/FlockMutex.php#L166
Unreachable statement - code above always terminates.
Smoke (latest, StaticAnalysis): src/mutex/FlockMutex.php#L172
Method malkusch\lock\mutex\FlockMutex::unlock() overrides method malkusch\lock\mutex\LockMutex::unlock() but is missing the #[\Override] attribute.
Smoke (latest, StaticAnalysis): src/mutex/LockMutex.php#L35
Method malkusch\lock\mutex\LockMutex::synchronized() overrides method malkusch\lock\mutex\Mutex::synchronized() but is missing the #[\Override] attribute.
Smoke (latest, StaticAnalysis): src/mutex/MemcachedMutex.php#L38
Method malkusch\lock\mutex\MemcachedMutex::acquire() overrides method malkusch\lock\mutex\SpinlockMutex::acquire() but is missing the #[\Override] attribute.
Smoke (latest, StaticAnalysis): src/mutex/MemcachedMutex.php#L47
Method malkusch\lock\mutex\MemcachedMutex::release() overrides method malkusch\lock\mutex\SpinlockMutex::release() but is missing the #[\Override] attribute.
Smoke (latest, StaticAnalysis)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Smoke (8.1, Phpunit)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Smoke (latest, CodingStyle)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Smoke (7.4, Phpunit)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Smoke (latest, Phpunit)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Smoke (8.0, Phpunit)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Smoke (8.3, Phpunit)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Smoke (8.2, Phpunit)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Smoke (7.3, Phpunit)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636