| Total Complexity | 2 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | final class AnonymousController |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var \App\Security\Provider\AnonymousProvider |
||
| 19 | */ |
||
| 20 | private $anonymousProvider; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var \Lexik\Bundle\JWTAuthenticationBundle\Services\JWTTokenManagerInterface |
||
| 24 | */ |
||
| 25 | private $tokenManager; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Constructor |
||
| 29 | * |
||
| 30 | * @param \App\Security\Provider\AnonymousProvider $anonymousProvider |
||
| 31 | * @param \Lexik\Bundle\JWTAuthenticationBundle\Services\JWTTokenManagerInterface $tokenManager |
||
| 32 | */ |
||
| 33 | public function __construct(AnonymousProvider $anonymousProvider, JWTTokenManagerInterface $tokenManager) |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Token |
||
| 41 | * |
||
| 42 | * @Route(path="/auth/anonymous", methods={"POST"}) |
||
| 43 | */ |
||
| 44 | public function post() |
||
| 52 |
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