| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 2.5 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | 1 | public function handle(MissingSupport $missing) |
|
| 17 | { |
||
| 18 | 1 | if ($locales = $missing->get()) { |
|
| 19 | $this->warn('We found the following localizations unavailable for installation:'); |
||
| 20 | $this->warn(implode(', ', $locales)); |
||
| 21 | |||
| 22 | return; |
||
| 23 | } |
||
| 24 | |||
| 25 | 1 | $this->info('Congratulations! All localizations are available!'); |
|
| 26 | 1 | } |
|
| 28 |