phpstan.neon.dist 521 B

1234567891011121314
  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. level: 0
  8. paths:
  9. - ./app
  10. - ./config
  11. reportUnmatchedIgnoredErrors: false
  12. ignoreErrors:
  13. - '#Static call to instance method Hyperf\\HttpServer\\Router\\Router::[a-zA-Z0-9\\_]+\(\)#'
  14. - '#Static call to instance method Hyperf\\DbConnection\\Db::[a-zA-Z0-9\\_]+\(\)#'