-
Notifications
You must be signed in to change notification settings - Fork 10
/
phpstan.dist.neon
20 lines (16 loc) · 991 Bytes
/
phpstan.dist.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
parameters:
level: max
paths:
- benchmarks/
- resources/
- src/
treatPhpDocTypesAsCertain: false
ignoreErrors:
- '#^Parameter \#1 \$client of class CacheWerk\\Relay\\Laravel\\.+ constructor expects Redis, Relay\\.+ given#'
- '#^Parameter \#1 \$client .+::establishConnection\(\) should be compatible with parameter \$client#'
- '#^Return type \(Relay\\.+\) of method \S+ should be compatible with return type \(Redis.*\) of method#'
- '#^Return type \(CacheWerk\\.+\) of method \S+::connectToCluster\(\) should be compatible with return type .+ of method#'
- '#^PHPDoc type Relay\\Relay of property \S+ is not covariant with PHPDoc type Redis#'
- '#^PHPDoc type Relay\\Cluster of property \S+ is not covariant with PHPDoc type Relay\\Relay#'
- '#^Method \S+\\RelayNewRelic::(scan|hscan|sscan|zscan)\(\) should return \S+ but returns mixed#'
- '#^Method \S+\\RelaySessionHandler::\S+ should return bool but returns bool\|Relay\\Relay#'