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