| Total Complexity | 2 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class JwtResolver |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | private $apiKey; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | private $sharedSecret; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param string $apiKey |
||
| 22 | * @param string $sharedSecret |
||
| 23 | */ |
||
| 24 | public function __construct(string $apiKey, string $sharedSecret) |
||
| 25 | { |
||
| 26 | $this->apiKey = $apiKey; |
||
| 27 | $this->sharedSecret = $sharedSecret; |
||
| 28 | } |
||
| 29 | |||
| 30 | public function resolveJwt(string $jwt): Session |
||
| 44 | } |
||
| 45 | } |
||
| 46 |
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