| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | protected function excluded(array $array, string $filename): array |
||
| 24 | { |
||
| 25 | $key = File::name($filename); |
||
| 26 | $keys = Config::getExclude($key, [], true); |
||
| 27 | |||
| 28 | return array_filter($array, static function ($value) use ($keys) { |
||
| 29 | return in_array($value, $keys); |
||
| 30 | }, ARRAY_FILTER_USE_KEY); |
||
| 31 | } |
||
| 33 |