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