-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathphpstan.neon
More file actions
36 lines (36 loc) · 2.2 KB
/
phpstan.neon
File metadata and controls
36 lines (36 loc) · 2.2 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
includes:
- vendor/phpstan/phpstan-beberlei-assert/extension.neon
parameters:
treatPhpDocTypesAsCertain: false
reportUnmatchedIgnoredErrors: false
level: 8
paths:
- '%currentWorkingDirectory%/Admin'
- '%currentWorkingDirectory%/Controller'
- '%currentWorkingDirectory%/DataGrid'
- '%currentWorkingDirectory%/DependencyInjection/Compiler'
- '%currentWorkingDirectory%/Display'
- '%currentWorkingDirectory%/Doctrine'
- '%currentWorkingDirectory%/Event'
- '%currentWorkingDirectory%/EventSubscriber'
- '%currentWorkingDirectory%/Exception'
- '%currentWorkingDirectory%/Factory'
- '%currentWorkingDirectory%/features/fixtures/project/src'
- '%currentWorkingDirectory%/Form'
- '%currentWorkingDirectory%/Menu'
- '%currentWorkingDirectory%/Message'
- '%currentWorkingDirectory%/Model'
- '%currentWorkingDirectory%/Request'
- '%currentWorkingDirectory%/ResourceRepository'
- '%currentWorkingDirectory%/Translatable'
- '%currentWorkingDirectory%/Twig'
ignoreErrors:
- message: '#Call to an undefined method Symfony\\Component\\HttpFoundation\\RequestStack\:\:get(Main|Master)Request\(\)\.#'
path: DataGrid/Extension/Admin/ColumnTypeExtension/BatchActionExtension.php
- message: '#Call to function method_exists\(\) with Symfony\\Component\\HttpFoundation\\RequestStack and ''get(Main|Master)Request'' will always evaluate to true\.#'
path: DataGrid/Extension/Admin/ColumnTypeExtension/BatchActionExtension.php
- message: '#Call to function method_exists\(\) with ''Symfony\\\\Component\\\\HttpFoundation\\\\RequestStack'' and ''getSession'' will always evaluate to true\.#'
- message: '#PHPDoc tag @return contains generic type Gedmo\\Tree\\Entity\\Repository\\NestedTreeRepository<object> but class Gedmo\\Tree\\Entity\\Repository\\NestedTreeRepository is not generic\.#'
path: Controller/ReorderTreeController.php
- message: '#Property [\w\\]+::\$\w+ \(\w+\|null\) is never assigned \w+ so it can be removed from the property type\.#'
path: features/fixtures/project/src/FixturesBundle/Entity/*.php