diff --git a/phpstan-dbal3.neon b/phpstan-dbal3.neon index d81dfeb55f2..9f4b42d353f 100644 --- a/phpstan-dbal3.neon +++ b/phpstan-dbal3.neon @@ -12,6 +12,7 @@ parameters: - message: '~^Method Doctrine\\ORM\\Query\\AST\\Functions\\TrimFunction::getTrimMode\(\) never returns .* so it can be removed from the return type\.$~' path: src/Query/AST/Functions/TrimFunction.php + - message: '~.*getTrimExpression.*expects int.*~' path: src/Query/AST/Functions/TrimFunction.php