.scrutinizer.yml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. build:
  2. nodes:
  3. analysis:
  4. dependencies:
  5. before:
  6. - composer require --dev johnpbloch/wordpress
  7. filter:
  8. excluded_paths:
  9. - "inc/lib/" # exclude the twilio api and html_dom scaper files
  10. - "node_modules/"
  11. dependency_paths:
  12. - wordpress/ # exlude wordpress from commit
  13. # checks:
  14. # php:
  15. # fix_php_opening_tag: false
  16. # remove_php_closing_tag: false
  17. # one_class_per_file: false
  18. # side_effects_or_types: false
  19. # no_mixed_inline_html: false
  20. # require_braces_around_control_structures: false
  21. # php5_style_constructor: true
  22. # no_global_keyword: false
  23. # avoid_usage_of_logical_operators: true
  24. # psr2_class_declaration: false
  25. # no_underscore_prefix_in_properties: false
  26. # no_underscore_prefix_in_methods: false
  27. # blank_line_after_namespace_declaration: true
  28. # single_namespace_per_use: false
  29. # psr2_switch_declaration: false
  30. # psr2_control_structure_declaration: false
  31. # avoid_superglobals: false
  32. # security_vulnerabilities: false
  33. # no_exit: false
  34. # return_doc_comments: true
  35. # parameter_doc_comments: true
  36. # uppercase_constants: true
  37. # avoid_perl_style_comments: true
  38. # coding_standard:
  39. # name: WordPress
  40. #
  41. # coding_style:
  42. # php:
  43. # indentation:
  44. # general:
  45. # use_tabs: true
  46. # spaces:
  47. # within:
  48. # function_declaration: true
  49. # if: true
  50. # for: true
  51. # while: true
  52. # switch: true
  53. # catch: true
  54. # braces:
  55. # classes_functions:
  56. # class: end-of-line
  57. # function: end-of-line
  58. # if:
  59. # opening: end-of-line
  60. # always: true
  61. # for:
  62. # opening: end-of-line
  63. # while:
  64. # opening: end-of-line
  65. # do_while:
  66. # opening: end-of-line
  67. # upper_lower_casing:
  68. # keywords:
  69. # general: lower
  70. # constants:
  71. # true_false_null: lower
  72. # tools:
  73. # sensiolabs_security_checker: true
  74. # # external_code_coverage: true
  75. # php_code_sniffer:
  76. # config:
  77. # # https://scrutinizer-ci.com/docs/tools/php/code-sniffer/standards
  78. # standard: "WordPress"