Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | public function transformProvider(): array |
||
26 | { |
||
27 | return [ |
||
28 | [['okmijnuhb', ], 'okmijnuhb', ], |
||
29 | // just dirs |
||
30 | [['wsx', 'edc', 'rfv', ], 'wsx' . DIRECTORY_SEPARATOR . 'edc' . DIRECTORY_SEPARATOR . 'rfv', ], |
||
31 | // dir slash |
||
32 | [['wsx/', 'edc', 'r f v', ], 'wsx\/' . DIRECTORY_SEPARATOR . 'edc' . DIRECTORY_SEPARATOR . 'r f v', ], |
||
33 | // too many slashes |
||
34 | [['wsx\\', 'e-dc', 'r&f&v', ], 'wsx\\\\' . DIRECTORY_SEPARATOR . 'e-dc' . DIRECTORY_SEPARATOR . 'r&f&v', ], |
||
35 | // empty path |
||
36 | [['', ], '', ], |
||
37 | ]; |
||
46 |