| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | protected function openInIde() |
||
| 30 | { |
||
| 31 | if ($ideClass = config('webfactor.generators.ides.' . $this->getIde())) { |
||
| 32 | (new $ideClass($this->command->filesToBeOpened))->open(); |
||
| 33 | |||
| 34 | return; |
||
| 35 | } |
||
| 36 | |||
| 37 | $this->command->error('There is no opener class for ide <comment>' . $this->getIde() . '</comment>'); |
||
| 38 | } |
||
| 39 | } |
||
| 40 |
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.