summaryrefslogtreecommitdiff
path: root/vendor/doctrine/orm/phpstan-dbal3.neon
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/doctrine/orm/phpstan-dbal3.neon')
-rw-r--r--vendor/doctrine/orm/phpstan-dbal3.neon29
1 files changed, 29 insertions, 0 deletions
diff --git a/vendor/doctrine/orm/phpstan-dbal3.neon b/vendor/doctrine/orm/phpstan-dbal3.neon
new file mode 100644
index 0000000..b9ef942
--- /dev/null
+++ b/vendor/doctrine/orm/phpstan-dbal3.neon
@@ -0,0 +1,29 @@
1includes:
2 - phpstan-baseline.neon
3 - phpstan-params.neon
4
5parameters:
6 ignoreErrors:
7 # Symfony cache supports passing a key prefix to the clear method.
8 - '/^Method Psr\\Cache\\CacheItemPoolInterface\:\:clear\(\) invoked with 1 parameter, 0 required\.$/'
9
10 # We can be certain that those values are not matched.
11 -
12 message: '~^Match expression does not handle remaining values:~'
13 path: src/Persisters/Entity/BasicEntityPersister.php
14
15 # DBAL 4 compatibility
16 -
17 message: '~^Method Doctrine\\ORM\\Query\\AST\\Functions\\TrimFunction::getTrimMode\(\) never returns .* so it can be removed from the return type\.$~'
18 path: src/Query/AST/Functions/TrimFunction.php
19 -
20 message: '~^Method Doctrine\\ORM\\Persisters\\Entity\\BasicEntityPersister\:\:getArrayBindingType\(\) never returns .* so it can be removed from the return type\.$~'
21 path: src/Persisters/Entity/BasicEntityPersister.php
22
23 - '~^Class Doctrine\\DBAL\\Platforms\\SQLitePlatform not found\.$~'
24
25 # To be removed in 4.0
26 -
27 message: '#Negated boolean expression is always false\.#'
28 paths:
29 - src/Mapping/Driver/AttributeDriver.php