| Total Complexity | 10 |
| Total Lines | 60 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class AuthenticationAction extends RestAction |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Authenticates a user using their username and password |
||
| 20 | * @return mixed |
||
| 21 | */ |
||
| 22 | public function post($params) |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Deauthenticates a user |
||
| 41 | * @return mixed |
||
| 42 | */ |
||
| 43 | public function delete($params) |
||
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Retrieves a Token object from an access token string |
||
| 57 | * @param string $accessToken |
||
| 58 | * @return \yrc\models\redis\Token |
||
| 59 | */ |
||
| 60 | private function getTokenFromAccessToken(string $accessToken) |
||
| 78 |
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