Add extension template with PHPStan, PHPUnit and phpcs
This commit is contained in:
parent
b4c6581d4f
commit
8cd928caa9
22 changed files with 825 additions and 1 deletions
13
phpstan.ci.neon
Normal file
13
phpstan.ci.neon
Normal file
|
@ -0,0 +1,13 @@
|
|||
includes:
|
||||
- phpstan.neon.dist
|
||||
|
||||
parameters:
|
||||
scanDirectories:
|
||||
- ci/vendor/civicrm/civicrm-core/CRM/
|
||||
bootstrapFiles:
|
||||
- ci/vendor/autoload.php
|
||||
# Because we test with different versions in CI we have unmatched errors
|
||||
reportUnmatchedIgnoredErrors: false
|
||||
ignoreErrors:
|
||||
# Errors we get when using "prefer-lowest"
|
||||
- '#::getSubscribedEvents\(\) return type has no value type specified in iterable type array.$#'
|
Loading…
Add table
Add a link
Reference in a new issue