Improve plugin testing

This commit is contained in:
Matias Griese 2019-12-06 18:49:10 +02:00
parent 185e9b5272
commit 8afe004a7f

View File

@ -10,7 +10,7 @@ parameters:
- %currentWorkingDirectory%/user/plugins/gantry5/src/platforms
- %currentWorkingDirectory%/user/plugins/gantry5/src/classes/Gantry/Framework/Services/ErrorServiceProvider.php
bootstrap: tests/phpstan/plugins-bootstrap.php
reportUnmatchedIgnoredErrors: true
reportUnmatchedIgnoredErrors: false
universalObjectCratesClasses:
- Grav\Common\Config\Config
- Grav\Common\Config\Languages
@ -21,3 +21,9 @@ parameters:
- Grav\Common\GPM\Remote\Package
- Grav\Common\Session
- Gantry\Component\Config\Config
ignoreErrors:
# PSR-16 Exception interfaces do not extend \Throwable
- '#PHPDoc tag \@throws with type (.*|)?Psr\\SimpleCache\\(CacheException|InvalidArgumentException)(|.*)? is not subtype of Throwable#'
- '#Call to deprecated method stopPropagation\(\) of class Symfony\\Component\\EventDispatcher\\Event#'
- '#Call to an undefined method Grav\\Plugin\\ApartmentData\\Application\\Application::#'