Total Complexity | 4 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
11 | final class Result |
||
12 | { |
||
13 | /** @var S */ |
||
|
|||
14 | private $state; |
||
15 | /** @var T */ |
||
16 | private $value; |
||
17 | |||
18 | /** |
||
19 | * @param S $state |
||
20 | * @param T $value |
||
21 | */ |
||
22 | private function __construct($state, $value) |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @psalm-pure |
||
30 | * @template A |
||
31 | * @template B |
||
32 | * |
||
33 | * @param A $state |
||
34 | * @param B $value |
||
35 | * |
||
36 | * @return self<A, B> |
||
37 | */ |
||
38 | public static function of($state, $value): self |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * @return S |
||
45 | */ |
||
46 | public function state() |
||
49 | } |
||
50 | |||
51 | /** |
||
52 | * @return T |
||
53 | */ |
||
54 | public function value() |
||
59 |
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