aboutsummaryrefslogtreecommitdiffhomepage
path: root/phpstan.neon
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2019-07-08 14:12:53 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2019-07-08 14:12:53 +0200
commitd0cf488dd4cfcadc49922255cced6a63eb596dba (patch)
tree63aa9fa7edb0fb6e3b32810afc09acce067533a9 /phpstan.neon
parent8effd6e99e5a1f1d0d663ee77b0f5015220d1b4a (diff)
downloadwallabag-d0cf488dd4cfcadc49922255cced6a63eb596dba.tar.gz
wallabag-d0cf488dd4cfcadc49922255cced6a63eb596dba.tar.zst
wallabag-d0cf488dd4cfcadc49922255cced6a63eb596dba.zip
Remove PHPUnit lock
It should now be PHPUnit 7.4. Update PHPStan configuration accordingly. Also, enable `inferPrivatePropertyTypeFromConstructor` for better phpDoc support in constructors.
Diffstat (limited to 'phpstan.neon')
-rw-r--r--phpstan.neon4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpstan.neon b/phpstan.neon
index dfbc97ac..d170e0e6 100644
--- a/phpstan.neon
+++ b/phpstan.neon
@@ -10,4 +10,6 @@ parameters:
10 10
11 # https://github.com/phpstan/phpstan/issues/694#issuecomment-350724288 11 # https://github.com/phpstan/phpstan/issues/694#issuecomment-350724288
12 autoload_files: 12 autoload_files:
13 - vendor/bin/.phpunit/phpunit-6.5/vendor/autoload.php 13 - vendor/bin/.phpunit/phpunit-7.4/vendor/autoload.php
14
15 inferPrivatePropertyTypeFromConstructor: true