andreypostal/cli

View on GitHub

Showing 47 of 58 total issues

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

        self::center('And we are done :)', ConsoleLevel::INFO);
Severity: Critical
Found in examples/ProgressBar/Service.php by phan

Parameter $context has undeclared type \Andrey\Cli\Types\Context
Open

    public function process(Context $context): void

Static call to undeclared method \Andrey\Cli\Examples\InfiniteProgressBar\Service::center
Open

        self::center('And we are done :)', ConsoleLevel::INFO);
Severity: Critical
Found in examples/InfiniteProgressBar/Service.php by phan

Class uses undeclared trait \Andrey\Cli\Utils\Output
Open

class Service
Severity: Critical
Found in examples/ParamsValidation/Service.php by phan

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

            $this->addProgress(2);
Severity: Critical
Found in examples/ProgressBar/Service.php by phan

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

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

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

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

Parameter $context has undeclared type \Andrey\Cli\Types\Context
Open

    public function process(Context $context): void
Severity: Minor
Found in examples/ParamsValidation/Service.php by phan

Class uses undeclared trait \Andrey\Cli\Utils\Output
Open

class Service
Severity: Critical
Found in examples/InfiniteProgressBar/Service.php by phan

Static call to undeclared method \Andrey\Cli\Examples\ProgressBar\Service::center
Open

        self::center('Check this really nice progress bar', ConsoleLevel::HIGHLIGHT);
Severity: Critical
Found in examples/ProgressBar/Service.php by phan

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

        self::center('Check this really nice progress bar', ConsoleLevel::HIGHLIGHT);
Severity: Critical
Found in examples/ProgressBar/Service.php by phan

Static call to undeclared method \Andrey\Cli\Examples\ProgressBar\Service::center
Open

        self::center('Thanks for watching!');
Severity: Critical
Found in examples/ProgressBar/Service.php by phan

Parameter $context has undeclared type \Andrey\Cli\Types\Context
Open

    public function process(Context $context): void
Severity: Minor
Found in examples/BasicService/Service.php by phan

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

        self::console("Check it out: >> {$thisExists} <<", ConsoleLevel::SUCCESS);
Severity: Critical
Found in examples/ParamsValidation/Service.php by phan

Class uses undeclared trait \Andrey\Cli\Utils\Output
Open

class Service
Severity: Critical
Found in examples/BasicService/Service.php by phan

Static call to undeclared method \Andrey\Cli\Examples\InfiniteProgressBar\Service::center
Open

        self::center('Thanks for watching!');
Severity: Critical
Found in examples/InfiniteProgressBar/Service.php by phan

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

            self::console("OH NO >.<", ConsoleLevel::WARNING);
Severity: Critical
Found in examples/ParamsValidation/Service.php by phan

Class uses undeclared trait \Andrey\Cli\Components\InfiniteProgressBar
Open

class Service
Severity: Critical
Found in examples/InfiniteProgressBar/Service.php by phan

Static call to undeclared method \Andrey\Cli\Examples\InfiniteProgressBar\Service::center
Open

        self::center('Check this really nice infinite progress bar', ConsoleLevel::HIGHLIGHT);
Severity: Critical
Found in examples/InfiniteProgressBar/Service.php by phan

Static call to undeclared method \Andrey\Cli\Examples\ProgressBar\Service::center
Open

        self::center('And we are done :)', ConsoleLevel::INFO);
Severity: Critical
Found in examples/ProgressBar/Service.php by phan
Severity
Category
Status
Source
Language