.scrutinizer.yml 2.5 KB

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