Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
38 | public function deleteNonExistingConfiguration(ApiTester $I) |
||
39 | { |
||
40 | $I->wantTo('delete non-existing db configuration'); |
||
41 | $I->haveHttpHeader('Content-Type', 'application/json'); |
||
42 | $I->sendDELETE('/config/0'); |
||
43 | $I->seeResponseCodeIs(HttpCode::NOT_FOUND); |
||
44 | $I->seeResponseContainsJson([ |
||
45 | 'success' => false, |
||
46 | 'data' => [ |
||
47 | 'configuration' => null |
||
48 | ] |
||
49 | ]); |
||
50 | } |
||
51 | } |
||
52 |
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.