phpstan.neon 817 B

1234567891011121314151617181920212223242526
  1. parameters:
  2. level: 6
  3. paths:
  4. - src
  5. - tests
  6. bootstrapFiles:
  7. - vendor/autoload.php
  8. excludePaths:
  9. - vendor
  10. treatPhpDocTypesAsCertain: false
  11. checkGenericClassInNonGenericObjectType: false
  12. ignoreErrors:
  13. - '#Unsafe usage of new static\(\).+#'
  14. - '#Method \S+ return type has no value type specified in iterable type array.#'
  15. - '#Method \S+ has parameter \S+ with no value type specified in iterable type array.#'
  16. - '#Property \S+ type has no value type specified in iterable type array.#'
  17. - '#Access to an undefined property Workerman\\Connection\\TcpConnection::\$__request.#'
  18. -
  19. message: '#Method \S+ has no return typehint specified.#'
  20. paths:
  21. - tests/unit/**Test.php