-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathphpstan.neon
24 lines (20 loc) · 1.08 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
parameters:
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
reportUnmatchedIgnoredErrors: false
level: 6
paths:
- src
excludes_analyse:
# Makes PHPStan crash
- 'src/DependencyInjection/Configuration.php'
# Test dependencies
- 'tests/Application/app/**.php'
- 'tests/Application/src/**.php'
ignoreErrors:
- '#Method .*::validate\(\) has parameter \$value with no typehint specified.#'
- '#Construct empty\(\) is not allowed. Use more strict comparison.#'
- '#Call to an undefined method SyliusMolliePlugin\\Entity\\MollieGatewayConfig::initializeTranslationsCollection\(\).#'
- '#Call to an undefined method SyliusMolliePlugin\\Entity\\MollieGatewayConfig::doGetTranslation\(\).#'
- '#Call to function method_exists\(\) with Doctrine\\DBAL\\Query\\QueryBuilder and .+ will always evaluate to true.#'
- '#Method Sylius\\RefundPlugin\\Validator\\RefundAmountValidatorInterface::validateUnits\(\) invoked with \d+ parameter[s]?, \d+ required.#'