src/Console.php
Showing 3 of 3 total issues
Method listen
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function listen(array $argv = []) { $this->climate->description(config('app.description')); $this->climate->arguments->add([ 'help' => [
Method execute
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function execute(Console\Commands $command, $args) { $this->climate->arguments->description($command->description()); foreach ($command->arguments() as $name => $options) {
Function execute
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
Open
protected function execute(Console\Commands $command, $args) { $this->climate->arguments->description($command->description()); foreach ($command->arguments() as $name => $options) {
- Read upRead up