mirror of
https://github.com/getgrav/grav.git
synced 2026-05-07 03:27:08 +02:00
Improve plugin testing
This commit is contained in:
@@ -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::#'
|
||||
|
||||
Reference in New Issue
Block a user