Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
21 | public function deleteUser(ApiTester $I) |
||
22 | { |
||
23 | $I->wantTo('delete user'); |
||
24 | $I->haveHttpHeader('Content-Type', 'application/json'); |
||
25 | $I->sendDELETE('/user/2'); |
||
26 | $I->seeResponseCodeIs(HttpCode::OK); |
||
27 | $I->seeResponseContainsJson([ |
||
28 | 'data' => [ |
||
29 | 'user' => [ |
||
30 | 'email' => '[email protected]', |
||
31 | ] |
||
32 | ] |
||
33 | ]); |
||
34 | } |
||
35 | |||
49 |
Short variable names may make your code harder to understand. Variable names should be self-descriptive. This check looks for variable names who are shorter than a configured minimum.