-
Notifications
You must be signed in to change notification settings - Fork 6
/
phpstan.neon
23 lines (22 loc) · 1.2 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
parameters:
bootstrapFiles:
- vendor/autoload.php
ignoreErrors:
- '#^Variable property access on .*$#'
- '#^Parameter .* of class ReflectionClass constructor expects class-string\<T of object\>\|T of object, string given\.$#'
-
message: '#^Call to function is_string\(\) with string will always evaluate to true\.$#'
path: src/Config/AbstractContainerConfig.php
-
message: '#^Unreachable statement - code above always terminates\.$#'
path: src/Config/AbstractContainerConfig.php
-
message: '#^Property WoohooLabs\\Zen\\Container\\ContainerDependencyResolver::\$excludedFileBasedDefinitions \(array\<string\>\) does not accept array\<string, int\>\.$#'
path: src/Container/ContainerDependencyResolver.php
-
message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<int, array\<int\|string, mixed\>\|bool\|float\|int\|string\|null\> given\.$#'
path: src/Container/ContainerDependencyResolver.php
checkGenericClassInNonGenericObjectType: false
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon