-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
17 lines (17 loc) · 821 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
parameters:
phpVersion: 80100
level: 8
paths:
- src
parallel:
maximumNumberOfProcesses: 1
checkGenericClassInNonGenericObjectType: false
ignoreErrors:
-
message: '%Parameter #1 \$callable of method Zaphyr\\Router\\Attributes\\Route::setCallable\(\) expects array<string, string>|(callable\(\): mixed)|string, array{class-string, non-empty-string} given.%'
path: src/Utils/AttributesResolver.php
-
message: '%Parameter #1 \$objectOrClass of class ReflectionClass constructor expects class-string<T of object>\|T of object, string given.%'
-
message: '%Method Zaphyr\\Router\\Dispatcher::dispatchVariableRoute\(\) has parameter (\$routeData|\$uri) with no type specified.%'
path: src/Dispatcher.php