mirror of
https://github.com/getgrav/grav.git
synced 2025-02-20 19:56:53 +01:00
Improve plugin testing
This commit is contained in:
parent
185e9b5272
commit
8afe004a7f
|
|
@ -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::#'
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user