phpstan-next.neon 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. includes:
  2. - phpstan.neon
  3. parameters:
  4. strictRules:
  5. booleansInConditions: true
  6. ignoreErrors:
  7. - '#Only booleans are allowed in (a negated boolean|a ternary operator condition|an elseif condition|an if condition|&&|\|\|), (bool|false|int(<[0-9, max]+>)?|true|null|\|)+ given.*#'
  8. excludePaths:
  9. analyse:
  10. # TODO: Update files below and remove them from this list
  11. - app/Controllers/feedController.php
  12. - app/Controllers/importExportController.php
  13. - app/Controllers/subscriptionController.php
  14. - app/Controllers/tagController.php
  15. - app/FreshRSS.php
  16. - app/Models/CategoryDAO.php
  17. - app/Models/CategoryDAOSQLite.php
  18. - app/Models/DatabaseDAOSQLite.php
  19. - app/Models/Entry.php
  20. - app/Models/EntryDAO.php
  21. - app/Models/EntryDAOSQLite.php
  22. - app/Models/Feed.php
  23. - app/Models/FeedDAO.php
  24. - app/Models/FeedDAOSQLite.php
  25. - app/Models/FormAuth.php
  26. - app/Models/LogDAO.php
  27. - app/Models/TagDAO.php
  28. - app/Models/Themes.php
  29. - app/Services/ExportService.php
  30. - app/Services/ImportService.php
  31. - app/views/configure/archiving.phtml
  32. - app/views/configure/queries.phtml
  33. - app/views/configure/query.phtml
  34. - app/views/helpers/stream-footer.phtml
  35. - app/views/stats/repartition.phtml
  36. - app/views/subscription/feed.phtml
  37. - cli/CliOptionsParser.php
  38. - cli/create-user.php
  39. - cli/update-user.php
  40. - lib/lib_rss.php