| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | final class CreateLicenseRequest implements CreateLicenseRequestInterface |
||
| 11 | { |
||
| 12 | use CustomControllerHelperTrait; |
||
| 13 | |||
| 14 | 1 | #[Override] |
|
| 15 | public function getTradePostId(): int |
||
| 16 | { |
||
| 17 | 1 | return $this->bodyParameter('postid')->int()->required(); |
|
| 18 | } |
||
| 19 | |||
| 20 | 1 | #[Override] |
|
| 24 | } |
||
| 25 | |||
| 26 | 1 | #[Override] |
|
| 27 | public function getWantedLicenseAmount(): int |
||
| 28 | { |
||
| 29 | 1 | return $this->bodyParameter('wlcount')->int()->defaultsTo(0); |
|
| 30 | } |
||
| 31 | |||
| 32 | 1 | #[Override] |
|
| 36 | } |
||
| 37 | } |
||
| 38 |
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