Last active
March 19, 2022 19:16
-
-
Save alexanderkatkov/b66e22b0011876b7b0fa8441a0a02f8b to your computer and use it in GitHub Desktop.
Personal PHPStan settings for Symfony projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
includes: | |
- vendor/phpstan/phpstan-symfony/extension.neon | |
- vendor/phpstan/phpstan-doctrine/extension.neon | |
- vendor/phpstan/phpstan-phpunit/extension.neon | |
- vendor/phpstan/phpstan-phpunit/rules.neon | |
parameters: | |
checkGenericClassInNonGenericObjectType: false | |
checkMissingIterableValueType: false | |
reportUnmatchedIgnoredErrors: false | |
universalObjectCratesClasses: | |
- PHPUnit\Framework\MockObject\MockObject | |
excludes_analyse: | |
- %rootDir%/../../../src/Migrations/* | |
- %rootDir%/../../../src/DataFixtures/* | |
bootstrapFiles: | |
- vendor/autoload.php | |
ignoreErrors: | |
# List of erros that we ignore | |
tmpDir: var/phpstan |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment