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