-
-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
Description
Feature request
Hi, when I first attempted to run phpstan analyze against doctrine/dbal, I got the following report:
Access to undefined constant PDO::PGSQL_ATTR_DISABLE_PREPARES.
Then I installed the php-pgsql package, which got rid of the error, as the constant is now defined in PDO.
Shouldn't phpstan be aware of all possible built-in constants though, even if the actual PDO driver isn't installed on the machine running the tests?
Shouldn't phpstan stub these constants?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels