| Total Complexity | 6 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | trait LoginControllerTrait |
||
| 13 | { |
||
| 14 | use AbstractControllerTrait; |
||
| 15 | |||
| 16 | public function index() |
||
| 42 | } |
||
| 43 | |||
| 44 | public function oauth() |
||
| 45 | { |
||
| 46 | $jwt = $this->getRequest()->get('token'); |
||
| 47 | $this->_getUser()->getManager()->authenticateWithToken($jwt); |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @inheritdoc |
||
| 52 | */ |
||
| 53 | protected function generateModelName() |
||
| 56 | } |
||
| 57 | } |
||
| 58 |
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