| Total Complexity | 5 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | final class EditKnPostRequest implements EditKnPostRequestInterface |
||
| 11 | { |
||
| 12 | use CustomControllerHelperTrait; |
||
| 13 | |||
| 14 | #[Override] |
||
| 15 | public function getKnId(): int |
||
| 16 | { |
||
| 17 | return $this->parameter('knid')->int()->required(); |
||
| 18 | } |
||
| 19 | |||
| 20 | #[Override] |
||
| 21 | public function getPlotId(): int |
||
| 22 | { |
||
| 23 | return $this->parameter('plotid')->int()->defaultsTo(0); |
||
| 24 | } |
||
| 25 | |||
| 26 | #[Override] |
||
| 27 | public function getText(): string |
||
| 28 | { |
||
| 29 | return $this->tidyString( |
||
| 30 | $this->parameter('text')->string()->trim()->required() |
||
| 31 | ); |
||
| 32 | } |
||
| 33 | |||
| 34 | #[Override] |
||
| 39 | ); |
||
| 40 | } |
||
| 41 | |||
| 42 | #[Override] |
||
| 46 | } |
||
| 47 | } |
||
| 48 |
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