This commit is contained in:
14
phpstan.neon.dist
Normal file
14
phpstan.neon.dist
Normal file
@ -0,0 +1,14 @@
|
||||
# Magic behaviour with __get, __set, __call and __callStatic is not exactly static analyser-friendly :)
|
||||
# Fortunately, You can ignore it by the following config.
|
||||
#
|
||||
# vendor/bin/phpstan analyse app --memory-limit 200M -l 0
|
||||
#
|
||||
parameters:
|
||||
level: 0
|
||||
paths:
|
||||
- ./app
|
||||
- ./config
|
||||
reportUnmatchedIgnoredErrors: false
|
||||
ignoreErrors:
|
||||
- '#Static call to instance method Hyperf\\HttpServer\\Router\\Router::[a-zA-Z0-9\\_]+\(\)#'
|
||||
- '#Static call to instance method Hyperf\\DbConnection\\Db::[a-zA-Z0-9\\_]+\(\)#'
|
Reference in New Issue
Block a user