ixarlie/mutex-bundle

View on GitHub

Showing 34 of 34 total issues

Arguments with default values must be at the end of the argument list
Open

        public readonly bool    $userIsolation = false,
Severity: Minor
Found in src/MutexRequest.php by phpcodesniffer

Usage of ELSE IF is discouraged; use ELSEIF instead
Open

        } else if (\is_string($controller) && str_contains($controller, '::')) {

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly NamingStrategy $namingStrategy,

Line indented incorrectly; expected 4 spaces, found 8
Open

        public readonly ?string $message = null,
Severity: Minor
Found in src/MutexRequest.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly LockExecutor   $executor,

Line indented incorrectly; expected 4 spaces, found 8
Open

        public readonly ?float  $ttl = 300.0,
Severity: Minor
Found in src/MutexRequest.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        public readonly MutexRequest $config,

Line indented incorrectly; expected 4 spaces, found 8
Open

        public readonly string  $strategy,
Severity: Minor
Found in src/MutexRequest.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly ?TokenStorageInterface $tokenStorage = null,

Line indented incorrectly; expected 4 spaces, found 8
Open

        public readonly string  $service,
Severity: Minor
Found in src/MutexRequest.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        public ?string          $name = null,
Severity: Minor
Found in src/MutexRequest.php by phpcodesniffer

Usage of ELSE IF is discouraged; use ELSEIF instead
Open

        } else if (\is_string($controller) && false !== $i = strpos($controller, '::')) {

Line indented incorrectly; expected 4 spaces, found 8
Open

        public readonly bool    $userIsolation = false,
Severity: Minor
Found in src/MutexRequest.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 8
Open

        private readonly NamingStrategy         $inner,
Severity
Category
Status
Source
Language