phpstan.neon 832 B

12345678910111213141516171819202122232425262728293031323334
  1. parameters:
  2. level: 3
  3. bootstrapFiles:
  4. - config/bootstrap.php
  5. paths:
  6. - src
  7. - tests
  8. - components
  9. - plugins
  10. excludePaths:
  11. - plugins/ActivityPub
  12. - components/FreeNetwork
  13. earlyTerminatingMethodCalls:
  14. App\Core\Log:
  15. - unexpected_exception
  16. ignoreErrors:
  17. -
  18. message: '/Access to an undefined property App\\Util\\Bitmap::\$\w+/'
  19. paths:
  20. - *
  21. # -
  22. # message: '/has no return typehint specified/'
  23. # paths:
  24. # - tests/*
  25. services:
  26. -
  27. class: App\PHPStan\ClassFromTableNameDynamicStaticMethodReturnTypeExtension
  28. tags:
  29. - phpstan.broker.dynamicStaticMethodReturnTypeExtension
  30. -
  31. class: App\PHPStan\GNUsocialProvider