kawax/packagist-bot

View on GitHub

Showing 2 of 2 total issues

Method handle has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function handle()
    {
        Yasmin::on(
            'error',
            function ($error) {
Severity: Minor
Found in app/Commands/Discord/ServeCommand.php - About 1 hr to fix

    Method package has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        protected function package(string $provider)
        {
            $urls = $this->packageUrls($provider);
    
            $this->barStart($urls->count());
    Severity: Minor
    Found in app/Commands/Packagist/PackageCommand.php - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language