| Total Complexity | 5 |
| Total Lines | 61 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 15 | final class Associativity implements Property |
||
| 16 | { |
||
| 17 | /** @var T */ |
||
|
|
|||
| 18 | private mixed $a; |
||
| 19 | /** @var T */ |
||
| 20 | private mixed $b; |
||
| 21 | /** @var T */ |
||
| 22 | private mixed $c; |
||
| 23 | /** @var callable(T, T): bool */ |
||
| 24 | private $equals; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param T $a |
||
| 28 | * @param T $b |
||
| 29 | * @param T $c |
||
| 30 | * @param callable(T, T): bool $equals |
||
| 31 | */ |
||
| 32 | public function __construct(mixed $a, mixed $b, mixed $c, callable $equals) |
||
| 33 | { |
||
| 34 | $this->a = $a; |
||
| 35 | $this->b = $b; |
||
| 36 | $this->c = $c; |
||
| 37 | $this->equals = $equals; |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @template A |
||
| 42 | * |
||
| 43 | * @param Set<A> $values |
||
| 44 | * @param callable(A, A): bool $equals |
||
| 45 | * |
||
| 46 | * @return Set<self<A>> |
||
| 47 | */ |
||
| 48 | public static function any(Set $values, callable $equals): Set |
||
| 55 | ); |
||
| 56 | } |
||
| 57 | |||
| 58 | public function name(): string |
||
| 59 | { |
||
| 60 | return 'Identity value has no effect on the combined value'; |
||
| 61 | } |
||
| 62 | |||
| 63 | public function applicableTo(object $monoid): bool |
||
| 66 | } |
||
| 67 | |||
| 68 | public function ensureHeldBy(object $monoid): object |
||
| 78 |
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