@@ -91,8 +91,8 @@ |
||
| 91 | 91 | { |
| 92 | 92 | $finder = new Finder(); |
| 93 | 93 | $finder->files() |
| 94 | - ->name($pattern) |
|
| 95 | - ->in($directories); |
|
| 94 | + ->name($pattern) |
|
| 95 | + ->in($directories); |
|
| 96 | 96 | |
| 97 | 97 | return $finder; |
| 98 | 98 | } |
@@ -49,10 +49,10 @@ discard block |
||
| 49 | 49 | public function testConvertPathToNamespaceData() |
| 50 | 50 | { |
| 51 | 51 | return [ |
| 52 | - ["{$this->separator}A{$this->separator}B{$this->separator}C", 'A\B\C'], |
|
| 53 | - ["A{$this->separator}B{$this->separator}C", 'A\B\C'], |
|
| 54 | - ["A{$this->separator}B{$this->separator}C", 'A\B\C'], |
|
| 55 | - ["A{$this->separator}B{$this->separator}C.php", 'A\B\C'], |
|
| 52 | + ["{$this->separator}A{$this->separator}B{$this->separator}C", 'A\B\C'], |
|
| 53 | + ["A{$this->separator}B{$this->separator}C", 'A\B\C'], |
|
| 54 | + ["A{$this->separator}B{$this->separator}C", 'A\B\C'], |
|
| 55 | + ["A{$this->separator}B{$this->separator}C.php", 'A\B\C'], |
|
| 56 | 56 | ]; |
| 57 | 57 | } |
| 58 | 58 | |
@@ -72,9 +72,9 @@ discard block |
||
| 72 | 72 | public function testConvertNamespaceToPathData() |
| 73 | 73 | { |
| 74 | 74 | return [ |
| 75 | - ['A\B\C', "{$this->separator}A{$this->separator}B{$this->separator}C"], |
|
| 76 | - ['\A\B\C\\', "{$this->separator}A{$this->separator}B{$this->separator}C"], |
|
| 77 | - ['A\B\C\\', "{$this->separator}A{$this->separator}B{$this->separator}C"], |
|
| 75 | + ['A\B\C', "{$this->separator}A{$this->separator}B{$this->separator}C"], |
|
| 76 | + ['\A\B\C\\', "{$this->separator}A{$this->separator}B{$this->separator}C"], |
|
| 77 | + ['A\B\C\\', "{$this->separator}A{$this->separator}B{$this->separator}C"], |
|
| 78 | 78 | ]; |
| 79 | 79 | } |
| 80 | 80 | |