-
Notifications
You must be signed in to change notification settings - Fork 23
/
phpstan.neon
31 lines (31 loc) · 1.58 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
25
26
27
28
29
30
31
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: '#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