-
Notifications
You must be signed in to change notification settings - Fork 7
/
phpstan.neon
27 lines (27 loc) · 1.84 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
includes:
- vendor/phpstan/phpstan-beberlei-assert/extension.neon
parameters:
reportUnmatchedIgnoredErrors: false
treatPhpDocTypesAsCertain: false
level: 8
paths:
- .
excludePaths:
- DependencyInjection/Configuration
- '%rootDir%/../../../docker'
- '%rootDir%/../../../features/fixtures/project/var'
- '%rootDir%/../../../spec'
- '%rootDir%/../../../var'
- '%rootDir%/../../../vendor'
ignoreErrors:
- '#Property FSi\\Bundle\\AdminSecurityBundle\\EventListener\\EncodePasswordListener::\$passwordHasherFactory has unknown class Symfony\\Component\\PasswordHasher\\Hasher\\PasswordHasherFactoryInterface as its type\.#'
- '#Parameter \$passwordHasherFactory of method FSi\\Bundle\\AdminSecurityBundle\\EventListener\\EncodePasswordListener::__construct\(\) has invalid type Symfony\\Component\\PasswordHasher\\Hasher\\PasswordHasherFactoryInterface\.#'
- '#Call to method getPasswordHasher\(\) on an unknown class Symfony\\Component\\PasswordHasher\\Hasher\\PasswordHasherFactoryInterface\.#'
- '#^Class Symfony\\Component\\Security\\Core\\Encoder\\EncoderFactoryInterface not found\.#'
- '#^.*(unknown class)|(invalid type) Symfony\\Component\\Security\\Core\\Encoder\\EncoderFactoryInterface.*$#'
- message: '#Cannot call method get\(\) on Symfony\\Component\\DependencyInjection\\ContainerInterface\|null\.#'
path: %currentWorkingDirectory%/FSiAdminSecurityBundle.php
- message: '#Call to an undefined method Symfony\\Component\\HttpFoundation\\RequestStack\:\:get(Main|Master)Request\(\)\.#'
path: %currentWorkingDirectory%/EventListener/LogoutUserListener.php
- message: '#.*Symfony\\Component\\Routing\\RouteCollectionBuilder.*#'
path: %currentWorkingDirectory%/features/fixtures/project/src/Kernel.php