File: /var/www/vhost/disk-apps/qas.sports-crowd.com/vendor/phpoption/phpoption/phpstan-baseline.neon
parameters:
ignoreErrors:
-
message: '#^Call to function is_callable\(\) with callable\(mixed \.\.\.\)\: PhpOption\\Option\<T\> will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/PhpOption/LazyOption.php
-
message: '#^Method PhpOption\\Option\:\:ensure\(\) should return PhpOption\\Option\<S\> but returns PhpOption\\LazyOption\<mixed\>\.$#'
identifier: return.type
count: 1
path: src/PhpOption/Option.php
-
message: '#^Method PhpOption\\Option\:\:fromReturn\(\) has parameter \$arguments with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/PhpOption/Option.php
-
message: '#^Method PhpOption\\Option\:\:fromReturn\(\) should return PhpOption\\LazyOption\<S\> but returns PhpOption\\LazyOption\<mixed\>\.$#'
identifier: return.type
count: 1
path: src/PhpOption/Option.php
-
message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, Closure\(PhpOption\\Option\)\: T given\.$#'
identifier: argument.type
count: 1
path: src/PhpOption/Option.php
-
message: '#^Parameter \#2 \$callback of function array_reduce expects callable\(bool\|TReturn, mixed\)\: \(bool\|TReturn\), Closure\(mixed, PhpOption\\Option\)\: \(bool\|TReturn\) given\.$#'
identifier: argument.type
count: 1
path: src/PhpOption/Option.php
-
message: '#^Template type S of method PhpOption\\Option\:\:lift\(\) is not referenced in a parameter\.$#'
identifier: method.templateTypeNotInParameter
count: 1
path: src/PhpOption/Option.php