Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
30 | public function resolveJwt(string $jwt): Session |
||
31 | { |
||
32 | $decoded = JWT::decode($jwt, $this->sharedSecret, ['HS256']); |
||
33 | |||
34 | // todo https://shopify.dev/tutorials/authenticate-your-app-using-session-tokens#obtain-session-details-manually |
||
35 | |||
36 | // dump($decoded); |
||
37 | // die(); |
||
38 | |||
39 | $session = new Session(); |
||
40 | $session->sessionId = $decoded->sid; |
||
41 | $session->storeName = str_replace("https://", "", $decoded->dest); |
||
42 | |||
43 | return $session; |
||
44 | } |
||
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