Total Complexity | 6 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | final class CreateOfferRequest implements CreateOfferRequestInterface |
||
11 | { |
||
12 | use CustomControllerHelperTrait; |
||
13 | |||
14 | 1 | #[Override] |
|
18 | } |
||
19 | |||
20 | 1 | #[Override] |
|
21 | public function getWantedCommodityId(): int |
||
22 | { |
||
23 | 1 | return $this->bodyParameter('wgid')->int()->required(); |
|
24 | } |
||
25 | |||
26 | 1 | #[Override] |
|
27 | public function getWantedAmount(): int |
||
28 | { |
||
29 | 1 | return $this->bodyParameter('wcount')->int()->defaultsTo(0); |
|
30 | } |
||
31 | |||
32 | 1 | #[Override] |
|
36 | } |
||
37 | |||
38 | 1 | #[Override] |
|
42 | } |
||
43 | |||
44 | 1 | #[Override] |
|
50 |
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