| Conditions | 3 |
| Paths | 4 |
| Total Lines | 19 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | public function __construct(InputInterface $input) |
||
| 19 | { |
||
| 20 | parent::__construct(); |
||
| 21 | $this |
||
| 22 | ->files() |
||
| 23 | ->in($input->getArgument('directory')) |
||
| 24 | ->exclude(array_merge(['vendor'], $input->getOption('exclude'))) |
||
| 25 | ->name('*.php') |
||
| 26 | ->ignoreDotFiles(true) |
||
| 27 | ->ignoreVCS(true); |
||
| 28 | |||
| 29 | foreach ($input->getOption('exclude-path') as $notPath) { |
||
| 30 | $this->notPath($notPath); |
||
| 31 | } |
||
| 32 | |||
| 33 | foreach ($input->getOption('exclude-file') as $notName) { |
||
| 34 | $this->notName($notName); |
||
| 35 | } |
||
| 36 | } |
||
| 37 | } |
||
| 38 |