-
Notifications
You must be signed in to change notification settings - Fork 33
/
phpstan.neon
17 lines (17 loc) · 931 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
includes:
- %currentWorkingDirectory%/vendor/phpstan/phpstan-symfony/extension.neon
parameters:
scanFiles:
- %currentWorkingDirectory%/vendor/pimcore/pimcore/stubs/dynamic-constants.php
reportUnmatchedIgnoredErrors: false
symfony:
containerXmlPath: %currentWorkingDirectory%/var/cache/test/TestKernelTestDebugContainer.xml
constantHassers: false
excludePaths:
# only works if optional bundles are available:
- src/Adapter/User/AbstractCustomerUser.php
ignoreErrors:
- '#Comparison operation \"\>\" between int\<1, max\> and 0 is always true\.#'
- '#Method MembersBundle\\EventListener\\PostConfirmationListener::confirmByMail\(\) is unused#'
- '#Method MembersBundle\\EventListener\\PostConfirmationListener::confirmByAdmin\(\) is unused#'
- '#Method MembersBundle\\EventListener\\PostConfirmationListener::confirmInstant\(\) is unused#'