@@ -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 | } |
@@ -53,10 +53,10 @@ discard block |
||
| 53 | 53 | public function testConvertPathToNamespaceData() |
| 54 | 54 | { |
| 55 | 55 | return [ |
| 56 | - ['/A/B/C', $this->getPath('A\B\C')], |
|
| 57 | - ['A/B/C', $this->getPath('A\B\C')], |
|
| 58 | - ['A/B/C', $this->getPath('A\B\C')], |
|
| 59 | - ['A/B/C.php', $this->getPath('A\B\C')], |
|
| 56 | + ['/A/B/C', $this->getPath('A\B\C')], |
|
| 57 | + ['A/B/C', $this->getPath('A\B\C')], |
|
| 58 | + ['A/B/C', $this->getPath('A\B\C')], |
|
| 59 | + ['A/B/C.php', $this->getPath('A\B\C')], |
|
| 60 | 60 | ]; |
| 61 | 61 | } |
| 62 | 62 | |
@@ -77,9 +77,9 @@ discard block |
||
| 77 | 77 | public function testConvertNamespaceToPathData() |
| 78 | 78 | { |
| 79 | 79 | return [ |
| 80 | - ['A\B\C', $this->getPath('/A/B/C')], |
|
| 81 | - ['\A\B\C\\', $this->getPath('/A/B/C')], |
|
| 82 | - ['A\B\C\\', $this->getPath('/A/B/C')], |
|
| 80 | + ['A\B\C', $this->getPath('/A/B/C')], |
|
| 81 | + ['\A\B\C\\', $this->getPath('/A/B/C')], |
|
| 82 | + ['A\B\C\\', $this->getPath('/A/B/C')], |
|
| 83 | 83 | ]; |
| 84 | 84 | } |
| 85 | 85 | |