-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathphpstan.ci.neon
More file actions
26 lines (22 loc) · 924 Bytes
/
phpstan.ci.neon
File metadata and controls
26 lines (22 loc) · 924 Bytes
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
includes:
- phpstan.neon.dist
parameters:
scanDirectories:
- vendor/civicrm/civicrm-core/api
- vendor/civicrm/civicrm-core/CRM
- vendor/civicrm/civicrm-packages/DB
- vendor/civicrm/civicrm-packages/HTML
excludePaths:
- vendor/rubobaquero/phpquery/phpQuery/phpQuery/compat/mbstring.php
bootstrapFiles:
- vendor/autoload.php
# Because we test with different versions in CI we may have unmatched errors.
reportUnmatchedIgnoredErrors: false
ignoreErrors:
# Errors we get when using "prefer-lowest"
# Required with civicrm/civicrm-core <6.1.0
- '#^Call to an undefined static method Civi::rebuild\(\).$#'
# Required with civicrm/civicrm-core <6.6.0
- '#^Call to an undefined method Civi\\Api4\\Generic\\AutocompleteAction::setSearchField\(\).$#'
# Required with symfony/event-dispatcher <4.4.27
- '#::getSubscribedEvents\(\) return type has no value type specified in iterable type array.$#'