mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-15 09:57:41 +01:00
d0cf488dd4
It should now be PHPUnit 7.4. Update PHPStan configuration accordingly. Also, enable `inferPrivatePropertyTypeFromConstructor` for better phpDoc support in constructors.
16 lines
545 B
Plaintext
16 lines
545 B
Plaintext
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
|