-
Notifications
You must be signed in to change notification settings - Fork 69
/
phpstan.neon
35 lines (28 loc) · 1.17 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
parameters:
bootstrapFiles:
- tests/bootstrap.php
reportUnmatchedIgnoredErrors: false
excludePaths:
- tests/polyfills/Stringable.php
- tests/polyfills/WeakMap.php
- tests/ElasticApmTests/ComponentTests/WordPress/mock_src/*.php
- tests/ElasticApmTests/ComponentTests/WordPress/expected_process_AST_output/*.php
ignoreErrors:
#
# elastic_apm_* functions are provided by the extension
#
- '#^Function elastic_apm_[a-z_]* not found\.$#'
#
# Property PDOStatement::$queryString (string) in isset() is not nullable.
#
- '#^Property .* in isset\(\) is not nullable\.$#'
#
# Parameter #4 $database of class mysqli constructor expects string, string|null given.
#
- '#^Parameter \#4 \$database of class mysqli constructor expects string,.* string\|null given\.$#'
#
# Parameter #4 $dbname of function mysqli_connect expects string, string|null given.
#
- '#^Parameter \#4 \$dbname of function mysqli_connect expects string,.* string\|null given\.$#'