andreypostal/cli

View on GitHub

Showing 47 of 58 total issues

syntax error, unexpected 'int' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open

    private int $barSize;
Severity: Critical
Found in src/Components/InfiniteProgressBar.php by phan

Call to undeclared method \Andrey\Cli\Examples\InfiniteProgressBar\Service::endInfiniteBar
Open

        $this->endInfiniteBar();
Severity: Critical
Found in examples/InfiniteProgressBar/Service.php by phan

Call to method get from undeclared class \Andrey\Cli\Types\Context
Open

        $thisMayNot = $context->get('optional');
Severity: Critical
Found in examples/ParamsValidation/Service.php by phan

syntax error, unexpected ')'
Open

        );
Severity: Critical
Found in examples/Complete/MyService.php by phan

Reference to constant INFO from undeclared class \Andrey\Cli\Types\ConsoleLevel
Open

            self::console("Oh, here he is >> {$thisMayNot} <<", ConsoleLevel::INFO);
Severity: Critical
Found in examples/ParamsValidation/Service.php by phan

Static call to undeclared method \Andrey\Cli\Examples\ParamsValidation\Service::console
Open

            self::console("Oh, here he is >> {$thisMayNot} <<", ConsoleLevel::INFO);
Severity: Critical
Found in examples/ParamsValidation/Service.php by phan

Call to undeclared method \Andrey\Cli\Examples\ProgressBar\Service::initProgressBar
Open

        $this->initProgressBar($totalItems);
Severity: Critical
Found in examples/ProgressBar/Service.php by phan
Severity
Category
Status
Source
Language