Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | public function deleteConfiguration(ApiTester $I) |
||
23 | { |
||
24 | $I->wantTo('delete db configuration'); |
||
25 | $I->haveHttpHeader('Content-Type', 'application/json'); |
||
26 | $I->sendDELETE('/config/1'); |
||
27 | $I->seeResponseCodeIs(HttpCode::OK); |
||
28 | $I->seeResponseContainsJson([ |
||
29 | 'success' => true, |
||
30 | 'data' => [ |
||
31 | 'configuration' => [ |
||
32 | 'title' => 'Test config', |
||
33 | ] |
||
34 | ] |
||
35 | ]); |
||
36 | } |
||
37 | |||
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.