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