Total Complexity | 9 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class Missing |
||
11 | { |
||
12 | 2 | public function missing(): array |
|
13 | { |
||
14 | 2 | return array_diff($this->sourceAvailable(), $this->mainAvailable()); |
|
15 | } |
||
16 | |||
17 | 1 | public function unnecessary(): array |
|
20 | } |
||
21 | |||
22 | 2 | protected function mainAvailable(): array |
|
25 | } |
||
26 | |||
27 | 2 | protected function sourceAvailable(): array |
|
38 | } |
||
39 | |||
40 | 2 | protected function sourcePath(): string |
|
41 | { |
||
42 | 2 | $path = IlluminateConfig::get(Config::KEY_PRIVATE . '.vendor'); |
|
43 | |||
44 | 2 | return rtrim($path, '/') . '/src'; |
|
45 | } |
||
46 | |||
47 | /** |
||
48 | * @return \DirectoryIterator|\DirectoryIterator[] |
||
49 | */ |
||
50 | 2 | protected function directories(): DirectoryIterator |
|
53 | } |
||
54 | } |
||
55 |