mirror of
https://github.com/getgrav/grav.git
synced 2026-02-24 23:51:31 +01:00
PHP 8.1
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -190,6 +190,7 @@ class Action implements IteratorAggregate, Countable
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
#[\ReturnTypeWillChange]
|
||||
public function __debugInfo()
|
||||
{
|
||||
return [
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user