-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathphpstan.neon
27 lines (20 loc) · 1.07 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-strict-rules/rules.neon
- vendor/phpstan/phpstan-symfony/extension.neon
- vendor/phpstan/phpstan-symfony/rules.neon
parameters:
ignoreErrors:
# Symfony
-
message: '#Call to an undefined method Symfony\\Component\\Security\\Core\\Role\\RoleHierarchyInterface::getReachableRoles\(\).#'
path: lib/Security/Authorization/Voter/RepositoryAccessVoter.php
- '#Symfony\\Component\\Security\\Core\\Role\\Role#'
# Doctrine DBAL
- '#Cannot call method fetchAllAssociative\(\) on Doctrine\\DBAL\\ForwardCompatibility\\Result\|int#'
- '#expects string\|null, Doctrine\\DBAL\\Query\\Expression\\CompositeExpression given#'
# eZ Platform
-
message: '#Call to function is_string\(\) with string will always evaluate to true.#'
path: lib/Security/Authorization/Voter/RepositoryAccessVoter.php
- "#Casting to (int|string) something that's already (int|string).#"
- '#EzSystems\\PlatformHttpCacheBundle\\RequestAwarePurger#'