Innmind /
Immutable
| 1 | <?php |
||
| 2 | declare(strict_types = 1); |
||
| 3 | |||
| 4 | namespace Innmind\Immutable\Maybe; |
||
| 5 | |||
| 6 | use Innmind\Immutable\Maybe; |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @template T |
||
| 10 | * @psalm-immutable |
||
| 11 | * @internal |
||
| 12 | */ |
||
| 13 | interface Implementation |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @template V |
||
| 17 | * |
||
| 18 | * @param callable(T): V $map |
||
| 19 | * |
||
| 20 | * @return self<V> |
||
| 21 | */ |
||
| 22 | public function map(callable $map): self; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @template V |
||
| 26 | * |
||
| 27 | * @param callable(T): Maybe<V> $map |
||
| 28 | * |
||
| 29 | * @return Maybe<V> |
||
| 30 | */ |
||
| 31 | public function flatMap(callable $map): Maybe; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @template V |
||
| 35 | * |
||
| 36 | * @param callable(T): V $just |
||
| 37 | * @param callable(): V $nothing |
||
| 38 | * |
||
| 39 | * @return V |
||
|
0 ignored issues
–
show
|
|||
| 40 | */ |
||
| 41 | public function match(callable $just, callable $nothing); |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @template V |
||
| 45 | * |
||
| 46 | * @param callable(): Maybe<V> $otherwise |
||
| 47 | * |
||
| 48 | * @return Maybe<T|V> |
||
| 49 | */ |
||
| 50 | public function otherwise(callable $otherwise): Maybe; |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param callable(T): bool $predicate |
||
| 54 | * |
||
| 55 | * @return self<T> |
||
| 56 | */ |
||
| 57 | public function filter(callable $predicate): self; |
||
| 58 | } |
||
| 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