@@ -91,7 +91,6 @@ public function testBuildSchemaForNonResourceClass(): void
9191 $ definitions = $ resultSchema ->getDefinitions ();
9292
9393 $ this ->assertSame ((new \ReflectionClass (NotAResource::class))->getShortName (), $ rootDefinitionKey );
94- // @noRector
9594 $ this ->assertTrue (isset ($ definitions [$ rootDefinitionKey ]));
9695 $ this ->assertArrayHasKey ('type ' , $ definitions [$ rootDefinitionKey ]);
9796 $ this ->assertSame ('object ' , $ definitions [$ rootDefinitionKey ]['type ' ]);
@@ -168,7 +167,6 @@ public function testBuildSchemaForNonResourceClassWithUnionIntersectTypes(): voi
168167 $ definitions = $ resultSchema ->getDefinitions ();
169168
170169 $ this ->assertSame ((new \ReflectionClass (NotAResourceWithUnionIntersectTypes::class))->getShortName (), $ rootDefinitionKey );
171- // @noRector
172170 $ this ->assertTrue (isset ($ definitions [$ rootDefinitionKey ]));
173171 $ this ->assertArrayHasKey ('type ' , $ definitions [$ rootDefinitionKey ]);
174172 $ this ->assertSame ('object ' , $ definitions [$ rootDefinitionKey ]['type ' ]);
@@ -252,7 +250,6 @@ public function testBuildSchemaWithSerializerGroups(): void
252250 $ definitions = $ resultSchema ->getDefinitions ();
253251
254252 $ this ->assertSame ((new \ReflectionClass (OverriddenOperationDummy::class))->getShortName ().'- ' .$ serializerGroup , $ rootDefinitionKey );
255- // @noRector
256253 $ this ->assertTrue (isset ($ definitions [$ rootDefinitionKey ]));
257254 $ this ->assertArrayHasKey ('type ' , $ definitions [$ rootDefinitionKey ]);
258255 $ this ->assertSame ('object ' , $ definitions [$ rootDefinitionKey ]['type ' ]);
@@ -311,7 +308,6 @@ public function testBuildSchemaForAssociativeArray(): void
311308 $ definitions = $ resultSchema ->getDefinitions ();
312309
313310 $ this ->assertSame ((new \ReflectionClass (NotAResource::class))->getShortName (), $ rootDefinitionKey );
314- // @noRector
315311 $ this ->assertTrue (isset ($ definitions [$ rootDefinitionKey ]));
316312 $ this ->assertArrayHasKey ('properties ' , $ definitions [$ rootDefinitionKey ]);
317313 $ this ->assertArrayHasKey ('foo ' , $ definitions [$ rootDefinitionKey ]['properties ' ]);
0 commit comments