| Total Complexity | 4 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Coverage | 10% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class Metro extends AbstractApi implements IApi |
||
| 13 | { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * instanciate |
||
| 17 | * |
||
| 18 | * @param Container $container |
||
| 19 | */ |
||
| 20 | 1 | public function __construct(Container $container) |
|
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * jwtaction |
||
| 27 | * |
||
| 28 | * @return Test |
||
| 29 | */ |
||
| 30 | final public function lines(): Metro |
||
| 31 | { |
||
| 32 | $this->response->setCode(Response::HTTP_OK)->setContent([ |
||
| 33 | Response::_ERROR => false, |
||
| 34 | Response::_ERROR_MSG => 'Jwt auth succeeded', |
||
| 35 | 'datas' => [ |
||
| 36 | 'user' => $this->request->getSession('auth', 'user') |
||
| 37 | ] |
||
| 38 | ]); |
||
| 39 | return $this; |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * upload with jwt bearer |
||
| 44 | * |
||
| 45 | * @return Test |
||
| 46 | */ |
||
| 47 | final public function stations(): Metro |
||
| 62 | } |
||
| 63 | } |
||
| 64 |
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