| Total Complexity | 4 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 29 | class AllowHeader extends Header |
||
| 30 | { |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var list<string> |
||
|
|
|||
| 34 | */ |
||
| 35 | private array $methods = []; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Constructor of the class |
||
| 39 | * |
||
| 40 | * @param string ...$methods |
||
| 41 | * |
||
| 42 | * @throws InvalidHeaderValueException |
||
| 43 | * If one of the methods isn't valid. |
||
| 44 | */ |
||
| 45 | 11 | public function __construct(string ...$methods) |
|
| 54 | } |
||
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * {@inheritdoc} |
||
| 59 | */ |
||
| 60 | 7 | public function getFieldName(): string |
|
| 61 | { |
||
| 62 | 7 | return 'Allow'; |
|
| 63 | } |
||
| 64 | |||
| 65 | /** |
||
| 66 | * {@inheritdoc} |
||
| 67 | */ |
||
| 68 | 5 | public function getFieldValue(): string |
|
| 71 | } |
||
| 72 | } |
||
| 73 |
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