-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathphpstan.neon
More file actions
41 lines (29 loc) · 1.65 KB
/
phpstan.neon
File metadata and controls
41 lines (29 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
includes:
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan-doctrine/extension.neon
- vendor/phpstan/phpstan-doctrine/rules.neon
- vendor/phpstan/phpstan-symfony/extension.neon
- vendor/phpstan/phpstan-symfony/rules.neon
parameters:
ignoreErrors:
# Symfony
- '#generic interface Symfony\\Component\\Form\\\w+ (but )?does not specify its types: TData#'
- '#extends generic class Symfony\\Component\\Form\\\w+ but does not specify its types: TData#'
# Doctrine DBAL
- '#Property Netgen\\Bundle\\SiteBundle\\Entity\\UserAccountKey::\$id is never written, only read#'
# Ibexa DXP
- '#Access to an undefined property Ibexa\\Contracts\\Core\\FieldType\\Value::\$\w+#'
- '#Access to an undefined property Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Query\\CriterionInterface::\$\w+#'
- '#Cannot access property \$\w+ on Ibexa\\Contracts\\Core\\FieldType\\Value\|null#'
# Ibexa Site API
- '#Access to an undefined property Netgen\\IbexaSiteApi\\API\\Settings::\$\w+#'
# Wrong typehints in vendor packages
-
message: '#has parameter \$parameters with no value type specified in iterable type array#'
path: bundle/Core/MVC/Symfony/FieldType/BinaryBase/ContentDownloadUrlGenerator.php
-
message: '#has parameter \$parameters with no value type specified in iterable type array#'
path: bundle/QueryType/SearchQueryType.php
-
message: '#has parameter \$(blocks|context) with no value type specified in iterable type array#'
path: bundle/Templating/Twig/