You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.3 KiB

  1. ---
  2. build:
  3. nodes:
  4. analysis:
  5. project_setup:
  6. override: true
  7. tests:
  8. override:
  9. - php-scrutinizer-run
  10. checks:
  11. javascript: true
  12. php:
  13. align_assignments: true
  14. avoid_fixme_comments: true
  15. avoid_multiple_statements_on_same_line: true
  16. avoid_perl_style_comments: true
  17. avoid_todo_comments: true
  18. duplication: false
  19. encourage_single_quotes: true
  20. newline_at_end_of_file: true
  21. no_goto: true
  22. no_long_variable_names:
  23. maximum: "20"
  24. no_short_method_names:
  25. minimum: "3"
  26. no_short_variable_names:
  27. minimum: "3"
  28. optional_parameters_at_the_end: true
  29. parameter_doc_comments: true
  30. remove_extra_empty_lines: true
  31. return_doc_comment_if_not_inferrable: true
  32. return_doc_comments: true
  33. uppercase_constants: true
  34. use_self_instead_of_fqcn: true
  35. coding_style:
  36. php:
  37. spaces:
  38. around_operators:
  39. concatenation: true
  40. other:
  41. after_type_cast: false
  42. filter:
  43. excluded_paths:
  44. - database/migrations/*
  45. - bootstrap/*
  46. - config/*
  47. - docker/*
  48. - public/js/lib/*
  49. - public/lib/adminlte/js/*
  50. - public/lib/bootstrap/js/*
  51. - resources/*
  52. - routes/*
  53. - storage/*
  54. paths:
  55. - app/*
  56. - public/js/ff/*
  57. tools:
  58. external_code_coverage: false