@@ -38,27 +38,27 @@ public function testRule(): void
3838 // each error consists of the asserted error message, and the asserted error file line
3939 $ this ->analyse ([__DIR__ . '/Fake/FailingEntityUseLogic.php ' ], [
4040 [
41- 'Array access to entity to App\Model\Entity\Note is not allowed, access as object instead ' ,
41+ 'Array access to entity App\Model\Entity\Note is not allowed, access as object instead ' ,
4242 24 , // asserted error line
4343 ],
4444 [
45- 'Array access to entity to App\Model\Entity\Note is not allowed, access as object instead ' ,
45+ 'Array access to entity App\Model\Entity\Note is not allowed, access as object instead ' ,
4646 25 , // asserted error line
4747 ],
4848 [
49- 'Array access to entity to App\Model\Entity\Note is not allowed, access as object instead ' ,
49+ 'Array access to entity App\Model\Entity\Note is not allowed, access as object instead ' ,
5050 27 , // asserted error line
5151 ],
5252 [
53- 'Array access to entity to Cake\Datasource\EntityInterface is not allowed, access as object instead ' ,
53+ 'Array access to entity Cake\Datasource\EntityInterface is not allowed, access as object instead ' ,
5454 36 ,
5555 ],
5656 [
57- 'Array access to entity to App\Model\Entity\User is not allowed, access as object instead ' ,
57+ 'Array access to entity App\Model\Entity\User is not allowed, access as object instead ' ,
5858 38 , // asserted error line
5959 ],
6060 [
61- 'Array access to entity to App\Model\Entity\Note is not allowed, access as object instead ' ,
61+ 'Array access to entity App\Model\Entity\Note is not allowed, access as object instead ' ,
6262 44 , // asserted error line
6363 ],
6464 ]);
0 commit comments