mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-17 21:26:27 +00:00
d0cf488dd4
It should now be PHPUnit 7.4. Update PHPStan configuration accordingly. Also, enable `inferPrivatePropertyTypeFromConstructor` for better phpDoc support in constructors.
15 lines
545 B
Text
15 lines
545 B
Text
includes:
|
|
- vendor/phpstan/phpstan-phpunit/extension.neon
|
|
- vendor/phpstan/phpstan-symfony/extension.neon
|
|
- vendor/phpstan/phpstan-doctrine/extension.neon
|
|
- vendor/phpstan/phpstan-phpunit/rules.neon
|
|
|
|
parameters:
|
|
symfony:
|
|
container_xml_path: %rootDir%/../../../var/cache/test/appTestDebugProjectContainer.xml
|
|
|
|
# https://github.com/phpstan/phpstan/issues/694#issuecomment-350724288
|
|
autoload_files:
|
|
- vendor/bin/.phpunit/phpunit-7.4/vendor/autoload.php
|
|
|
|
inferPrivatePropertyTypeFromConstructor: true
|