Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f6a34b3

Browse files
committed
Ignore old dbal missing driver classes
1 parent 3057e41 commit f6a34b3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎phpstan.neon‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,8 @@ parameters:
4040
-
4141
message: '#^Call to function method_exists\(\) with Doctrine\\DBAL\\Connection and ''getNativeConnection'' will always evaluate to true\.$#' # needed for older DBAL versions
4242
path: src/Type/Doctrine/Query/QueryResultTypeWalker.php
43+
-
44+
messages: # needed for older DBAL versions (fails only on PHP 7.3)
45+
- '#^Class Doctrine\\DBAL\\Driver\\PgSQL\\Driver not found\.$#'
46+
- '#^Class Doctrine\\DBAL\\Driver\\SQLite3\\Driver not found\.$#'
47+
path: src/Type/Doctrine/Query/QueryResultTypeWalker.php

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /