| Total Complexity | 2 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 17 | class Let implements Scalar |
||
| 18 | { |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Ctor. |
||
| 22 | * |
||
| 23 | * @param X $subject |
||
|
|
|||
| 24 | * @param Closure(X): Y $context |
||
| 25 | */ |
||
| 26 | public function __construct( |
||
| 27 | /** |
||
| 28 | * Element to be put into the context. |
||
| 29 | * |
||
| 30 | * @var X |
||
| 31 | */ |
||
| 32 | private mixed $subject, |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Context for the element. |
||
| 36 | * |
||
| 37 | * @var Closure(X): Y |
||
| 38 | */ |
||
| 39 | private Closure $context |
||
| 40 | ) { |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Returns result of applying context to element. |
||
| 45 | * |
||
| 46 | * @return Y |
||
| 47 | */ |
||
| 48 | public function value(): mixed |
||
| 51 | } |
||
| 52 | } |
||
| 53 |
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