@@ -18,8 +18,8 @@ Feature: Fix Class Names
18
18
| dir | src / |
19
19
Then the PHP File "src/Foo/Bar.php" should be refactored:
20
20
"""
21
- --- a/Foo/Bar.php
22
- +++ b/Foo/Bar.php
21
+ --- a/vfs://project/src/ Foo/Bar.php
22
+ +++ b/vfs://project/src/ Foo/Bar.php
23
23
@@ -2,5 +2,5 @@
24
24
namespace Foo;
25
25
@@ -44,8 +44,8 @@ Feature: Fix Class Names
44
44
| dir | src / |
45
45
Then the PHP File "src/Foo/Bar.php" should be refactored:
46
46
"""
47
- --- a/Foo/Bar.php
48
- +++ b/Foo/Bar.php
47
+ --- a/vfs://project/src/ Foo/Bar.php
48
+ +++ b/vfs://project/src/ Foo/Bar.php
49
49
@@ -1,4 +1,4 @@
50
50
<?php
51
51
-namespace Baz;
@@ -73,17 +73,17 @@ Feature: Fix Class Names
73
73
| dir | src / |
74
74
Then the PHP File "src/Foo.php" should be refactored:
75
75
"""
76
- --- a/src/Foo/Bar.php
77
- +++ b/src/Foo/Bar.php
76
+ --- a/vfs://project/src/ src/Foo/Bar.php
77
+ +++ b/vfs://project/src/ src/Foo/Bar.php
78
78
@@ -2,5 +2,5 @@
79
79
namespace Foo;
80
80
81
81
-class Foo
82
82
+class Bar
83
83
{
84
84
}
85
- --- a/Foo.php
86
- +++ b/Foo.php
85
+ --- a/vfs://project/src/ Foo.php
86
+ +++ b/vfs://project/src/ Foo.php
87
87
@@ -1,2 +1,2 @@
88
88
<?php
89
89
-use Foo\Foo;
@@ -109,16 +109,16 @@ Feature: Fix Class Names
109
109
| dir | src / |
110
110
Then the PHP File "src/Foo.php" should be refactored:
111
111
"""
112
- --- a/src/Foo/Bar.php
113
- +++ b/src/Foo/Bar.php
112
+ --- a/vfs://project/src/ src/Foo/Bar.php
113
+ +++ b/vfs://project/src/ src/Foo/Bar.php
114
114
@@ -1,4 +1,4 @@
115
115
<?php
116
116
-namespace Bar;
117
117
+namespace Foo;
118
118
119
119
class Bar
120
- --- a/Foo.php
121
- +++ b/Foo.php
120
+ --- a/vfs://project/src/ Foo.php
121
+ +++ b/vfs://project/src/ Foo.php
122
122
@@ -1,2 +1,2 @@
123
123
<?php
124
124
-use Bar\Bar;
@@ -145,17 +145,17 @@ Feature: Fix Class Names
145
145
| dir | src / |
146
146
Then the PHP File "src/Foo.php" should be refactored:
147
147
"""
148
- --- a/src/Foo/Bar.php
149
- +++ b/src/Foo/Bar.php
148
+ --- a/vfs://project/src/ src/Foo/Bar.php
149
+ +++ b/vfs://project/src/ src/Foo/Bar.php
150
150
@@ -2,5 +2,5 @@
151
151
namespace Foo;
152
152
153
153
-class Foo
154
154
+class Bar
155
155
{
156
156
}
157
- --- a/Foo.php
158
- +++ b/Foo.php
157
+ --- a/vfs://project/src/ Foo.php
158
+ +++ b/vfs://project/src/ Foo.php
159
159
@@ -1,2 +1,2 @@
160
160
<?php
161
161
-Foo\Foo::bar();
@@ -181,17 +181,17 @@ Feature: Fix Class Names
181
181
| dir | src / |
182
182
Then the PHP File "src/Foo.php" should be refactored:
183
183
"""
184
- --- a/src/Foo/Bar.php
185
- +++ b/src/Foo/Bar.php
184
+ --- a/vfs://project/src/ src/Foo/Bar.php
185
+ +++ b/vfs://project/src/ src/Foo/Bar.php
186
186
@@ -2,5 +2,5 @@
187
187
namespace Foo;
188
188
189
189
-class Foo
190
190
+class Bar
191
191
{
192
192
}
193
- --- a/Foo.php
194
- +++ b/Foo.php
193
+ --- a/vfs://project/src/ Foo.php
194
+ +++ b/vfs://project/src/ Foo.php
195
195
@@ -1,2 +1,2 @@
196
196
<?php
197
197
-new Foo\Foo();
@@ -221,26 +221,26 @@ Feature: Fix Class Names
221
221
| dir | src / |
222
222
Then the PHP File "src/Foo.php" should be refactored:
223
223
"""
224
- --- a/src/Foo/Bar.php
225
- +++ b/src/Foo/Bar.php
224
+ --- a/vfs://project/src/ src/Foo/Bar.php
225
+ +++ b/vfs://project/src/ src/Foo/Bar.php
226
226
@@ -2,5 +2,5 @@
227
227
namespace Foo;
228
228
229
229
-class Foo
230
230
+class Bar
231
231
{
232
232
}
233
- --- a/Foo/src/Foo/Bar.php
234
- +++ b/Foo/src/Foo/Bar.php
233
+ --- a/vfs://project/src/ Foo/src/Foo/Bar.php
234
+ +++ b/vfs://project/src/ Foo/src/Foo/Bar.php
235
235
@@ -2,5 +2,5 @@
236
236
namespace Foo;
237
237
238
238
-class Foo
239
239
+class Bar
240
240
{
241
241
}
242
- --- a/Foo/Baz.php
243
- +++ b/Foo/Baz.php
242
+ --- a/vfs://project/src/ Foo/Baz.php
243
+ +++ b/vfs://project/src/ Foo/Baz.php
244
244
@@ -2,5 +2,5 @@
245
245
namespace Foo;
246
246
@@ -269,8 +269,8 @@ Feature: Fix Class Names
269
269
| dir | src / |
270
270
Then the PHP File "src/Foo.php" should be refactored:
271
271
"""
272
- --- a/src/Foo/Bar/Baz/Boing.php
273
- +++ b/src/Foo/Bar/Baz/Boing.php
272
+ --- a/vfs://project/src/ src/Foo/Bar/Baz/Boing.php
273
+ +++ b/vfs://project/src/ src/Foo/Bar/Baz/Boing.php
274
274
@@ -1,6 +1,6 @@
275
275
<?php
276
276
-namespace Foo\Foo;
@@ -280,8 +280,8 @@ Feature: Fix Class Names
280
280
+class Boing
281
281
{
282
282
}
283
- --- a/index.php
284
- +++ b/index.php
283
+ --- a/vfs://project/src/ index.php
284
+ +++ b/vfs://project/src/ index.php
285
285
@@ -1,2 +1,2 @@
286
286
<?php
287
287
-$foo = new \Foo\Foo\Foo();
@@ -308,8 +308,8 @@ Feature: Fix Class Names
308
308
| dir | src / |
309
309
Then the PHP File "src/Foo.php" should be refactored:
310
310
"""
311
- --- a/src/Foo/Boing.php
312
- +++ b/src/Foo/Boing.php
311
+ --- a/vfs://project/src/ src/Foo/Boing.php
312
+ +++ b/vfs://project/src/ src/Foo/Boing.php
313
313
@@ -1,6 +1,6 @@
314
314
<?php
315
315
-namespace Foo\Foo;
@@ -319,8 +319,8 @@ Feature: Fix Class Names
319
319
+class Boing
320
320
{
321
321
}
322
- --- a/index.php
323
- +++ b/index.php
322
+ --- a/vfs://project/src/ index.php
323
+ +++ b/vfs://project/src/ index.php
324
324
@@ -1,2 +1,2 @@
325
325
<?php
326
326
-$foo = new \Foo\Foo\Foo();
0 commit comments