| Total Complexity | 5 |
| Total Lines | 61 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class PostAuthEvent extends Event |
||
| 9 | { |
||
| 10 | const NAME = 'codecloud.shopify.post_auth'; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $shop; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $accessToken; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var Response |
||
| 24 | */ |
||
| 25 | private $response; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param string $shop |
||
| 29 | * @param string $accessToken |
||
| 30 | */ |
||
| 31 | public function __construct(string $shop, string $accessToken) |
||
| 32 | { |
||
| 33 | $this->shop = $shop; |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | public function getShop(): string |
||
| 40 | { |
||
| 41 | return $this->shop; |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | public function getAccessToken(): string |
||
| 48 | { |
||
| 49 | return $this->accessToken; |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return Response |
||
| 54 | */ |
||
| 55 | public function getResponse(): ?Response |
||
| 58 | } |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @param Response $response |
||
| 62 | * @return $this |
||
| 63 | */ |
||
| 64 | public function setResponse(Response $response) |
||
| 71 |
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