parameters:
level: 8
paths:
- %currentWorkingDirectory%/src/
reportUnmatchedIgnoredErrors: false
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
ignoreErrors:
# false-positive
- '/call_user_func_array expects callable/'
- '/Argument of an invalid type \(array\)\|object supplied for foreach, only iterables are supported\./'
- '/Argument of an invalid type array\|object supplied for foreach, only iterables are supported\./'
- '/Method voku\\db\\DB::multi_query\(\) should return/'
- '/method mysqli_stmt::__construct\(\) expects/'
- '/Call to an undefined method Doctrine\\DBAL\\Driver\\Statement::getWrappedStatement\(\)\./'
# ignored errors
- '/Result of \&\& is always false/'
- '/Function checkForDev not found/'
- '/Function mailToAdmin not found/'
- '/Method voku\\db\\Result::fetchAll\(\) should return array but returns array\|Arrayy\\Arrayy\|Generator\./'
|