Downgrade PHPStan to 0.11
Increases level to max and adds the current errors as a baseline. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
parent
958ba8822d
commit
ec22dd707a
@ -86,8 +86,8 @@
|
|||||||
"facebook/webdriver": "^1.7.1",
|
"facebook/webdriver": "^1.7.1",
|
||||||
"phpmyadmin/coding-standard": "^1.0",
|
"phpmyadmin/coding-standard": "^1.0",
|
||||||
"phpstan/extension-installer": "^1.0",
|
"phpstan/extension-installer": "^1.0",
|
||||||
"phpstan/phpstan": "^0.12.0",
|
"phpstan/phpstan": "^0.11.19",
|
||||||
"phpstan/phpstan-phpunit": "^0.12.0",
|
"phpstan/phpstan-phpunit": "^0.11.2",
|
||||||
"phpunit/phpunit": "^7.5 || ^8.0",
|
"phpunit/phpunit": "^7.5 || ^8.0",
|
||||||
"pragmarx/google2fa-qrcode": "^1.0.1",
|
"pragmarx/google2fa-qrcode": "^1.0.1",
|
||||||
"samyoul/u2f-php-server": "^1.1",
|
"samyoul/u2f-php-server": "^1.1",
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -1,15 +1,15 @@
|
|||||||
includes:
|
includes:
|
||||||
- phpstan-baseline.neon
|
- phpstan-baseline.neon
|
||||||
parameters:
|
parameters:
|
||||||
level: 2
|
level: max
|
||||||
paths:
|
paths:
|
||||||
- .
|
- %rootDir%/../../../
|
||||||
bootstrap: test/bootstrap-phpstan.php
|
bootstrap: %rootDir%/../../../test/bootstrap-phpstan.php
|
||||||
reportUnmatchedIgnoredErrors: true
|
reportUnmatchedIgnoredErrors: true
|
||||||
inferPrivatePropertyTypeFromConstructor: true
|
inferPrivatePropertyTypeFromConstructor: true
|
||||||
excludes_analyse:
|
excludes_analyse:
|
||||||
- examples/openid.php
|
- %rootDir%/../../../examples/openid.php
|
||||||
- node_modules/*
|
- %rootDir%/../../../node_modules/*
|
||||||
- test/sami-config.php
|
- %rootDir%/../../../test/sami-config.php
|
||||||
- tmp/*
|
- %rootDir%/../../../tmp/*
|
||||||
- vendor/*
|
- %rootDir%/../../../vendor/*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user