Add extension template with PHPStan, PHPUnit and phpcs

This commit is contained in:
Jens Schuppe 2024-03-25 14:51:55 +01:00
parent b4c6581d4f
commit 8cd928caa9
22 changed files with 825 additions and 1 deletions

13
phpstan.ci.neon Normal file
View 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.$#'