This commit is contained in:
Matias Griese
2021-12-02 13:52:51 +02:00
parent 2355d799f2
commit ecb2d31df0
4 changed files with 25 additions and 2 deletions

View File

@@ -64,8 +64,8 @@
},
"require-dev": {
"codeception/codeception": "^4.1",
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan": "^1.2",
"phpstan/phpstan-deprecation-rules": "^1.2",
"phpunit/php-code-coverage": "~9.2",
"getgrav/markdowndocs": "^2.0",
"codeception/module-asserts": "^1.3",

View File

@@ -190,6 +190,7 @@ class Action implements IteratorAggregate, Countable
/**
* @return array
*/
#[\ReturnTypeWillChange]
public function __debugInfo()
{
return [

View File

@@ -11,6 +11,17 @@ parameters:
excludePaths:
- */system/src/Grav/Common/Errors/Resources/layout.html.php
- */system/src/Twig/DeferredExtension/DeferredNodeVisitor.php
# Ignore vendor dev dependencies and tests
- */vendor/*/*/tests
- */vendor/behat
- */vendor/codeception
- */vendor/phpstan
- */vendor/phpunit
- */vendor/phpspec
- */vendor/phpdocumentor
- */vendor/sebastian
- */vendor/theseer
- */vendor/webmozart
inferPrivatePropertyTypeFromConstructor: true
reportUnmatchedIgnoredErrors: false

View File

@@ -9,6 +9,17 @@ parameters:
- %currentWorkingDirectory%/user/plugins/*/tests/*
- %currentWorkingDirectory%/user/plugins/gantry5/src/platforms
- %currentWorkingDirectory%/user/plugins/gantry5/src/classes/Gantry/Framework/Services/ErrorServiceProvider.php
# Ignore vendor dev dependencies and tests
- */vendor/*/*/tests
- */vendor/behat
- */vendor/codeception
- */vendor/phpstan
- */vendor/phpunit
- */vendor/phpspec
- */vendor/phpdocumentor
- */vendor/sebastian
- */vendor/theseer
- */vendor/webmozart
bootstrapFiles:
- plugins-bootstrap.php
inferPrivatePropertyTypeFromConstructor: true