Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | public function findAllFixers() |
||
21 | { |
||
22 | $phpCsFixerReflection = new ReflectionClass(Fixer::class); |
||
23 | $directoryWithFixers = dirname($phpCsFixerReflection->getFileName()) . '/Fixer'; |
||
24 | |||
25 | $finder = Finder::create() |
||
26 | ->files() |
||
27 | ->in($directoryWithFixers); |
||
28 | |||
29 | return iterator_to_array($finder); |
||
30 | } |
||
31 | } |
||
32 |