| Total Complexity | 4 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | final class WordRequest |
||
| 10 | { |
||
| 11 | private const LIMIT = 100; |
||
| 12 | |||
| 13 | private RequestStack $requestStack; |
||
| 14 | |||
| 15 | public function __construct(RequestStack $requestStack) |
||
| 16 | { |
||
| 17 | $this->requestStack = $requestStack; |
||
| 18 | } |
||
| 19 | |||
| 20 | public function mask(): string |
||
| 21 | { |
||
| 22 | RequestAssert::missingRequest($request = $this->requestStack->getCurrentRequest()); |
||
| 23 | |||
| 24 | $query = $request->query; |
||
| 25 | |||
| 26 | return (string) $query->get('mask', ''); |
||
| 27 | } |
||
| 28 | |||
| 29 | public function language(): string |
||
| 34 | } |
||
| 35 | |||
| 36 | public function limit(): int |
||
| 45 |
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