Skip to content

Commit 56ecf24

Browse files
committed
fix: phpstan ignore new php 8.4 subclasses
1 parent 86d7958 commit 56ecf24

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Instrumentation/PDO/phpstan.neon.dist

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,10 @@ parameters:
77
paths:
88
- src
99
- tests
10+
ignoreErrors:
11+
# PHP 8.4 PDO subclass issues
12+
- '#Call to an undefined static method PDO::connect\(\)#'
13+
- '#PHPDoc tag @var for variable \$db contains unknown class PDO\\Sqlite#'
14+
- '#Call to method createFunction\(\) on an unknown class PDO\\Sqlite#'
15+
- '#Call to method exec\(\) on an unknown class PDO\\Sqlite#'
16+
- '#Call to method query\(\) on an unknown class PDO\\Sqlite#'

0 commit comments

Comments
 (0)