| Conditions | 2 |
| Paths | 2 |
| Total Lines | 16 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 39 | protected function execute( InputInterface $input, OutputInterface $output ) { |
||
| 40 | |||
| 41 | $iterator = new \RegexIterator( |
||
| 42 | new \RecursiveIteratorIterator( |
||
| 43 | new \RecursiveDirectoryIterator( I::$cfg->get( 'dir_dump' ) ) |
||
| 44 | ), |
||
| 45 | '/.+\.' . I::$cfg->get( 'dump_ext' ) . '.*/', |
||
| 46 | \RecursiveRegexIterator::GET_MATCH |
||
| 47 | ); |
||
| 48 | |||
| 49 | foreach ( $iterator as $path ) { |
||
| 50 | $output->writeln( Utils::ls_l( $path[0] ) ); |
||
| 51 | } |
||
| 52 | |||
| 53 | return null; |
||
| 54 | } |
||
| 55 | } |
||
| 56 |