mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 11:01:04 +00:00
Remove PHPUnit lock
It should now be PHPUnit 7.4. Update PHPStan configuration accordingly. Also, enable `inferPrivatePropertyTypeFromConstructor` for better phpDoc support in constructors.
This commit is contained in:
parent
8effd6e99e
commit
d0cf488dd4
3 changed files with 14 additions and 12 deletions
|
@ -70,7 +70,7 @@ script:
|
|||
|
||||
- make fixtures
|
||||
|
||||
- if [[ $VALIDATE_TRANSLATION_FILE = '' ]]; then SYMFONY_PHPUNIT_VERSION=6.5 ./bin/simple-phpunit -v ; fi;
|
||||
- if [[ $VALIDATE_TRANSLATION_FILE = '' ]]; then ./bin/simple-phpunit -v ; fi;
|
||||
# PHPStan needs PHPUnit to be installed and cache app to be generated
|
||||
- if [[ $VALIDATE_TRANSLATION_FILE = '' ]]; then php bin/phpstan analyse src tests --no-progress --level 1 ; fi;
|
||||
- if [[ $CS_FIXER = run ]]; then php bin/php-cs-fixer fix --verbose --dry-run ; fi;
|
||||
|
|
20
composer.lock
generated
20
composer.lock
generated
|
@ -7130,16 +7130,16 @@
|
|||
},
|
||||
{
|
||||
"name": "sensio/framework-extra-bundle",
|
||||
"version": "v5.4.0",
|
||||
"version": "v5.4.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/sensiolabs/SensioFrameworkExtraBundle.git",
|
||||
"reference": "646b3f2a847c1888fd518b9b9d738d3900d7e496"
|
||||
"reference": "585f4b3a1c54f24d1a8431c729fc8f5acca20c8a"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/646b3f2a847c1888fd518b9b9d738d3900d7e496",
|
||||
"reference": "646b3f2a847c1888fd518b9b9d738d3900d7e496",
|
||||
"url": "https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/585f4b3a1c54f24d1a8431c729fc8f5acca20c8a",
|
||||
"reference": "585f4b3a1c54f24d1a8431c729fc8f5acca20c8a",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -7199,7 +7199,7 @@
|
|||
"annotations",
|
||||
"controllers"
|
||||
],
|
||||
"time": "2019-07-03T19:53:49+00:00"
|
||||
"time": "2019-07-08T08:31:25+00:00"
|
||||
},
|
||||
{
|
||||
"name": "sensiolabs/security-checker",
|
||||
|
@ -10712,16 +10712,16 @@
|
|||
},
|
||||
{
|
||||
"name": "phpstan/phpstan",
|
||||
"version": "0.11.10",
|
||||
"version": "0.11.12",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/phpstan/phpstan.git",
|
||||
"reference": "d5eb89ba61eee89f5380a31c9599626430c25649"
|
||||
"reference": "56b3eb2a371b60537fd20794e24af9e7e8ed4e30"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/d5eb89ba61eee89f5380a31c9599626430c25649",
|
||||
"reference": "d5eb89ba61eee89f5380a31c9599626430c25649",
|
||||
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/56b3eb2a371b60537fd20794e24af9e7e8ed4e30",
|
||||
"reference": "56b3eb2a371b60537fd20794e24af9e7e8ed4e30",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -10783,7 +10783,7 @@
|
|||
"MIT"
|
||||
],
|
||||
"description": "PHPStan - PHP Static Analysis Tool",
|
||||
"time": "2019-07-07T13:50:30+00:00"
|
||||
"time": "2019-07-08T06:55:18+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpstan/phpstan-doctrine",
|
||||
|
|
|
@ -10,4 +10,6 @@ parameters:
|
|||
|
||||
# https://github.com/phpstan/phpstan/issues/694#issuecomment-350724288
|
||||
autoload_files:
|
||||
- vendor/bin/.phpunit/phpunit-6.5/vendor/autoload.php
|
||||
- vendor/bin/.phpunit/phpunit-7.4/vendor/autoload.php
|
||||
|
||||
inferPrivatePropertyTypeFromConstructor: true
|
||||
|
|
Loading…
Reference in a new issue