Upgrade PHPStan to v0.12

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth 2020-03-02 12:55:51 -03:00
parent 5c414acb17
commit 7bc67a2024
3 changed files with 2224 additions and 159 deletions

View File

@ -86,8 +86,8 @@
"php-webdriver/webdriver": "^1.8",
"phpmyadmin/coding-standard": "^1.0",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.11.19",
"phpstan/phpstan-phpunit": "^0.11.2",
"phpstan/phpstan": "^0.12.13",
"phpstan/phpstan-phpunit": "^0.12.6",
"phpunit/phpunit": "^7.5 || ^8.0",
"pragmarx/google2fa-qrcode": "^1.0.1",
"samyoul/u2f-php-server": "^1.1",

File diff suppressed because it is too large Load Diff

View File

@ -3,13 +3,15 @@ includes:
parameters:
level: max
paths:
- %rootDir%/../../../
bootstrap: %rootDir%/../../../test/bootstrap-phpstan.php
- .
bootstrap: test/bootstrap-phpstan.php
reportUnmatchedIgnoredErrors: true
inferPrivatePropertyTypeFromConstructor: true
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
excludes_analyse:
- %rootDir%/../../../examples/openid.php
- %rootDir%/../../../node_modules/*
- %rootDir%/../../../test/sami-config.php
- %rootDir%/../../../tmp/*
- %rootDir%/../../../vendor/*
- examples/openid.php
- node_modules/*
- test/sami-config.php
- tmp/*
- vendor/*