We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4598bc commit 345e92cCopy full SHA for 345e92c
README.md
@@ -148,7 +148,9 @@ final class RealClass
148
}
149
```
150
151
-But we want to mock only one of them:
+<br>
152
+
153
+But we want to **mock only one of them**:
154
155
```php
156
use Rector\SwissKnife\Testing\MockWire;
@@ -162,6 +164,8 @@ $realClass = MockWire::create(RealClass::class, [
162
164
]);
163
165
166
167
168
169
Or pass direct instance:
170
171
@@ -283,6 +287,8 @@ We made a command to automate this process and spot the traits most likely to be
283
287
vendor/bin/swiss-knife spot-lazy-traits src
284
288
285
289
290
291
286
292
By default, the commands look for traits used max 2-times. To change that:
293
294
```bash
0 commit comments