| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 26 | 
| Code Lines | 15 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 43 | public function logout(AcceptanceTester $I): void | ||
| 44 |     { | ||
| 45 | $I->haveHttpHeader( | ||
| 46 | 'X-Api-Key', | ||
| 47 | 'lev1ZsWCzqrMlXRI2sT8h4ApYpSgBMl1xf6D4bCRtiKtDqw6JN36yLznargilQ_rEJz9zTfcUxm53PLODCToF9gGin38Rd4NkhQPOVeH5VvZvBaQlUg64E6icNCubiAv' | ||
| 48 | ); | ||
| 49 | |||
| 50 | $I->sendPOST( | ||
| 51 | '/logout/' | ||
| 52 | ); | ||
| 53 | |||
| 54 | $I->seeResponseCodeIs(HttpCode::OK); | ||
| 55 | $I->seeResponseIsJson(); | ||
| 56 | $I->seeResponseContainsJson( | ||
| 57 | [ | ||
| 58 | 'status' => 'success', | ||
| 59 | 'error_message' => '', | ||
| 60 | 'error_code' => null, | ||
| 61 | ] | ||
| 62 | ); | ||
| 63 | |||
| 64 | $I->dontSeeInDatabase( | ||
| 65 | 'user', | ||
| 66 | [ | ||
| 67 | 'id' => 1, | ||
| 68 | 'token' => 'lev1ZsWCzqrMlXRI2sT8h4ApYpSgBMl1xf6D4bCRtiKtDqw6JN36yLznargilQ_rEJz9zTfcUxm53PLODCToF9gGin38Rd4NkhQPOVeH5VvZvBaQlUg64E6icNCubiAv', | ||
| 69 | ] | ||
| 101 | 
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths