| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | public function handle(ErrorPrinter $errorPrinter) |
||
| 22 | { |
||
| 23 | $this->info('Checking stringy classes...'); |
||
| 24 | app()->singleton('current.command', function () { |
||
| 25 | return $this; |
||
| 26 | }); |
||
| 27 | $errorPrinter->printer = $this->output; |
||
| 28 | Psr4Classes::check([CheckStringy::class]); |
||
| 29 | $this->getOutput()->writeln(' - Finished looking for stringy classes.'); |
||
| 30 | |||
| 31 | $this->finishCommand($errorPrinter); |
||
| 32 | |||
| 33 | return $errorPrinter->hasErrors() ? 1 : 0; |
||
| 34 | } |
||
| 35 | } |
||
| 36 |