File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 Rector \Rules \Faker \GeneratorPropertyFetchToMethodCallRector::class,
3535 ]);
3636
37+ $ rectorConfig ->ruleWithConfiguration (Rector \Rules \Files \ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector::class, [
38+ 'discoverNamespacePrefixes ' => true ,
39+ ]);
40+
3741 $ rectorConfig ->sets ([
3842 PHPUnit \Set \PHPUnitSetList::PHPUNIT_100 ,
3943 ]);
Original file line number Diff line number Diff line change 1313
1414namespace Ergebnis \Package \Test \Unit ;
1515
16- use Ergebnis \Package \Example ;
17- use Ergebnis \Package \Test ;
16+ use Ergebnis \Package ;
1817use PHPUnit \Framework ;
1918
20- #[Framework \Attributes \CoversClass(Example::class)]
19+ #[Framework \Attributes \CoversClass(Package \ Example::class)]
2120final class ExampleTest extends Framework \TestCase
2221{
23- use Test \Util \Helper;
22+ use Package \ Test \Util \Helper;
2423
2524 public function testFromStringReturnsExample (): void
2625 {
2726 $ value = self ::faker ()->sentence ();
2827
29- $ example = Example::fromString ($ value );
28+ $ example = Package \ Example::fromString ($ value );
3029
3130 self ::assertSame ($ value , $ example ->toString ());
3231 }
You can’t perform that action at this time.
0 commit comments