@@ -23,34 +23,34 @@ public function test_returns_error_with_multiple_violations(): void
2323 $ expectedErrors = 'ERRORS!
2424
2525App\Controller\Foo has 2 violations
26- should have a name that matches *Controller
27- because we want uniform naming
26+ should have a name that matches *Controller
27+ because we want uniform naming
2828
29- should implement ContainerAwareInterface
30- because all controllers should be container aware
29+ should implement ContainerAwareInterface
30+ because all controllers should be container aware
3131
3232App\Controller\ProductsController has 1 violations
33- should implement ContainerAwareInterface
34- because all controllers should be container aware
33+ should implement ContainerAwareInterface
34+ because all controllers should be container aware
3535
3636App\Controller\UserController has 1 violations
37- should implement ContainerAwareInterface
38- because all controllers should be container aware
37+ should implement ContainerAwareInterface
38+ because all controllers should be container aware
3939
4040App\Controller\YieldController has 1 violations
41- should implement ContainerAwareInterface
42- because all controllers should be container aware
41+ should implement ContainerAwareInterface
42+ because all controllers should be container aware
4343
4444App\Domain\Model has 2 violations
45- depends on App\Services\UserService
46- from the rule
47- should not depend on classes outside namespace App\Domain
48- because we want protect our domain (on line 14)
49-
50- depends on App\Services\CartService
51- from the rule
52- should not depend on classes outside namespace App\Domain
53- because we want protect our domain (on line 15)
45+ depends on App\Services\UserService
46+ from the rule
47+ should not depend on classes outside namespace App\Domain
48+ because we want protect our domain (on line 14)
49+
50+ depends on App\Services\CartService
51+ from the rule
52+ should not depend on classes outside namespace App\Domain
53+ because we want protect our domain (on line 15)
5454 ' ;
5555
5656 $ this ->assertEquals (self ::ERROR_CODE , $ process ->getExitCode ());
@@ -64,34 +64,34 @@ public function test_returns_error_with_multiple_violations_without_passing_conf
6464 $ expectedErrors = 'ERRORS!
6565
6666App\Controller\Foo has 2 violations
67- should have a name that matches *Controller
68- because we want uniform naming
67+ should have a name that matches *Controller
68+ because we want uniform naming
6969
70- should implement ContainerAwareInterface
71- because all controllers should be container aware
70+ should implement ContainerAwareInterface
71+ because all controllers should be container aware
7272
7373App\Controller\ProductsController has 1 violations
74- should implement ContainerAwareInterface
75- because all controllers should be container aware
74+ should implement ContainerAwareInterface
75+ because all controllers should be container aware
7676
7777App\Controller\UserController has 1 violations
78- should implement ContainerAwareInterface
79- because all controllers should be container aware
78+ should implement ContainerAwareInterface
79+ because all controllers should be container aware
8080
8181App\Controller\YieldController has 1 violations
82- should implement ContainerAwareInterface
83- because all controllers should be container aware
82+ should implement ContainerAwareInterface
83+ because all controllers should be container aware
8484
8585App\Domain\Model has 2 violations
86- depends on App\Services\UserService
87- from the rule
88- should not depend on classes outside namespace App\Domain
89- because we want protect our domain (on line 14)
90-
91- depends on App\Services\CartService
92- from the rule
93- should not depend on classes outside namespace App\Domain
94- because we want protect our domain (on line 15)
86+ depends on App\Services\UserService
87+ from the rule
88+ should not depend on classes outside namespace App\Domain
89+ because we want protect our domain (on line 14)
90+
91+ depends on App\Services\CartService
92+ from the rule
93+ should not depend on classes outside namespace App\Domain
94+ because we want protect our domain (on line 15)
9595 ' ;
9696
9797 $ this ->assertStringContainsString ($ expectedErrors , $ process ->getOutput ());
@@ -120,7 +120,7 @@ public function test_bug_yield(): void
120120 $ expectedErrors = 'ERRORS!
121121
122122App\Controller\Foo has 1 violations
123- should have a name that matches *Controller ' ;
123+ should have a name that matches *Controller ' ;
124124
125125 $ this ->assertEquals (self ::ERROR_CODE , $ process ->getExitCode ());
126126 $ this ->assertStringContainsString ($ expectedErrors , $ process ->getOutput ());
0 commit comments