pixelfederation/swoole-bundle

View on GitHub

Showing 252 of 252 total issues

Space before opening parenthesis of function call prohibited
Open

        $loggerSvcIds = array_map(fn (Alias $alias): string => (string) $alias, $loggerAliases);

Space before opening parenthesis of function call prohibited
Open

        return array_map(fn (array $route): array => array_keys($route), $this->routes);

Line indented incorrectly; expected 4 spaces, found 8
Open

        private RequestHandlerInterface $requestHandler

Line indented incorrectly; expected 4 spaces, found 8
Open

        private string $verbosity = 'default'

Line indented incorrectly; expected 4 spaces, found 8
Open

        private LoggerInterface $logger

Line indented incorrectly; expected 4 spaces, found 8
Open

        private Server $server,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private Instantiator $instantiator,

Closing brace must be on a line by itself
Open

            $signalRegistry->register($signal, function ($signal, $hasNext) {});

Line indented incorrectly; expected 4 spaces, found 8
Open

        private int $lifetimeSeconds = 86400

Line indented incorrectly; expected 4 spaces, found 8
Open

        private ?TaskHandlerInterface $decorated = null

Line indented incorrectly; expected 4 spaces, found 8
Open

        private SwooleServerTaskReceiver $receiver,

Line indented incorrectly; expected 0 spaces, found 8
Open

        if (file_exists($overriddenFile)) {

Line indented incorrectly; expected 4 spaces, found 8
Open

        private HttpServer $server,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private int $interval = 2000,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private bool $trustAllProxies = false

Line indented incorrectly; expected 4 spaces, found 8
Open

        private SwooleServerTaskSender $sender

Line indented incorrectly; expected 0 spaces, found 4
Open

    private static $alreadyOverridden = [];

Line indented incorrectly; expected 0 spaces, found 4
Open

    private const TEMPLATE = <<<'PHP'

Line indented incorrectly; expected 4 spaces, found 8
Open

        private Filesystem $fileSystem,

Line indented incorrectly; expected 4 spaces, found 8
Open

        private StorageInterface $swooleStorage,
Severity
Category
Status
Source
Language