aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--composer.lock20
-rw-r--r--phpstan.neon4
3 files changed, 14 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml
index 96510f84..bd21d6c7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -70,7 +70,7 @@ script:
70 70
71 - make fixtures 71 - make fixtures
72 72
73 - if [[ $VALIDATE_TRANSLATION_FILE = '' ]]; then SYMFONY_PHPUNIT_VERSION=6.5 ./bin/simple-phpunit -v ; fi; 73 - if [[ $VALIDATE_TRANSLATION_FILE = '' ]]; then ./bin/simple-phpunit -v ; fi;
74 # PHPStan needs PHPUnit to be installed and cache app to be generated 74 # PHPStan needs PHPUnit to be installed and cache app to be generated
75 - if [[ $VALIDATE_TRANSLATION_FILE = '' ]]; then php bin/phpstan analyse src tests --no-progress --level 1 ; fi; 75 - if [[ $VALIDATE_TRANSLATION_FILE = '' ]]; then php bin/phpstan analyse src tests --no-progress --level 1 ; fi;
76 - if [[ $CS_FIXER = run ]]; then php bin/php-cs-fixer fix --verbose --dry-run ; fi; 76 - if [[ $CS_FIXER = run ]]; then php bin/php-cs-fixer fix --verbose --dry-run ; fi;
diff --git a/composer.lock b/composer.lock
index 9deb6d0c..2bce514a 100644
--- a/composer.lock
+++ b/composer.lock
@@ -7130,16 +7130,16 @@
7130 }, 7130 },
7131 { 7131 {
7132 "name": "sensio/framework-extra-bundle", 7132 "name": "sensio/framework-extra-bundle",
7133 "version": "v5.4.0", 7133 "version": "v5.4.1",
7134 "source": { 7134 "source": {
7135 "type": "git", 7135 "type": "git",
7136 "url": "https://github.com/sensiolabs/SensioFrameworkExtraBundle.git", 7136 "url": "https://github.com/sensiolabs/SensioFrameworkExtraBundle.git",
7137 "reference": "646b3f2a847c1888fd518b9b9d738d3900d7e496" 7137 "reference": "585f4b3a1c54f24d1a8431c729fc8f5acca20c8a"
7138 }, 7138 },
7139 "dist": { 7139 "dist": {
7140 "type": "zip", 7140 "type": "zip",
7141 "url": "https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/646b3f2a847c1888fd518b9b9d738d3900d7e496", 7141 "url": "https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/585f4b3a1c54f24d1a8431c729fc8f5acca20c8a",
7142 "reference": "646b3f2a847c1888fd518b9b9d738d3900d7e496", 7142 "reference": "585f4b3a1c54f24d1a8431c729fc8f5acca20c8a",
7143 "shasum": "" 7143 "shasum": ""
7144 }, 7144 },
7145 "require": { 7145 "require": {
@@ -7199,7 +7199,7 @@
7199 "annotations", 7199 "annotations",
7200 "controllers" 7200 "controllers"
7201 ], 7201 ],
7202 "time": "2019-07-03T19:53:49+00:00" 7202 "time": "2019-07-08T08:31:25+00:00"
7203 }, 7203 },
7204 { 7204 {
7205 "name": "sensiolabs/security-checker", 7205 "name": "sensiolabs/security-checker",
@@ -10712,16 +10712,16 @@
10712 }, 10712 },
10713 { 10713 {
10714 "name": "phpstan/phpstan", 10714 "name": "phpstan/phpstan",
10715 "version": "0.11.10", 10715 "version": "0.11.12",
10716 "source": { 10716 "source": {
10717 "type": "git", 10717 "type": "git",
10718 "url": "https://github.com/phpstan/phpstan.git", 10718 "url": "https://github.com/phpstan/phpstan.git",
10719 "reference": "d5eb89ba61eee89f5380a31c9599626430c25649" 10719 "reference": "56b3eb2a371b60537fd20794e24af9e7e8ed4e30"
10720 }, 10720 },
10721 "dist": { 10721 "dist": {
10722 "type": "zip", 10722 "type": "zip",
10723 "url": "https://api.github.com/repos/phpstan/phpstan/zipball/d5eb89ba61eee89f5380a31c9599626430c25649", 10723 "url": "https://api.github.com/repos/phpstan/phpstan/zipball/56b3eb2a371b60537fd20794e24af9e7e8ed4e30",
10724 "reference": "d5eb89ba61eee89f5380a31c9599626430c25649", 10724 "reference": "56b3eb2a371b60537fd20794e24af9e7e8ed4e30",
10725 "shasum": "" 10725 "shasum": ""
10726 }, 10726 },
10727 "require": { 10727 "require": {
@@ -10783,7 +10783,7 @@
10783 "MIT" 10783 "MIT"
10784 ], 10784 ],
10785 "description": "PHPStan - PHP Static Analysis Tool", 10785 "description": "PHPStan - PHP Static Analysis Tool",
10786 "time": "2019-07-07T13:50:30+00:00" 10786 "time": "2019-07-08T06:55:18+00:00"
10787 }, 10787 },
10788 { 10788 {
10789 "name": "phpstan/phpstan-doctrine", 10789 "name": "phpstan/phpstan-doctrine",
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