phpstan.neon 474 B

12345678910
  1. # Magic behaviour with __get, __set, __call and __callStatic is not exactly static analyser-friendly :)
  2. # Fortunately, You can ignore it by the following config.
  3. #
  4. # vendor/bin/phpstan analyse app --memory-limit 200M -l 0
  5. #
  6. parameters:
  7. reportUnmatchedIgnoredErrors: false
  8. ignoreErrors:
  9. - '#Static call to instance method Hyperf\\HttpServer\\Router\\Router::[a-zA-Z0-9\\_]+\(\)#'
  10. - '#Static call to instance method Hyperf\\DbConnection\\Db::[a-zA-Z0-9\\_]+\(\)#'