-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
20 lines (19 loc) · 962 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
includes:
- vendor/thecodingmachine/phpstan-safe-rule/phpstan-safe-rule.neon
- vendor/wernerdweight/cs/src/Rules/phpstan-rules.neon
parameters:
ignoreErrors:
# Symfony configuration builder's return types are a bit messy
- '#Cannot call method arrayNode\(\) on Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface\|null.#'
-
message: '#Anonymous variable in a#'
path: 'src/DependencyInjection/Configuration.php'
-
message: '#Do not use chained method calls. Put each on separated lines#'
path: 'src/DependencyInjection/Configuration.php'
-
message: '#Method "getAllowCredentials\(\)" returns bool type, so the name should start with is\/has\/was#'
path: 'src/Service/ConfigurationProvider.php'
-
message: '#Make callable type explicit#'
path: 'src/EventSubscriber/CORSEventSubscriber.php'