| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | public function current() { |
||
| 22 | /* @var $symfonyFileInfo \Symfony\Component\Finder\SplFileInfo */ |
||
| 23 | $symfonyFileInfo = parent::current(); |
||
| 24 | $originalPath = $symfonyFileInfo->getPathname(); |
||
| 25 | $newPath = str_replace(DIRECTORY_SEPARATOR, '/', $originalPath); |
||
| 26 | |||
| 27 | return new SplFileInfo($newPath); |
||
| 28 | } |
||
| 29 | } |
||
| 30 |