pull/2487/head
jmontoyaa 7 years ago
parent 7c795c2f39
commit 05121f1705
  1. 127
      .scrutinizer.yml

@ -28,38 +28,38 @@ build:
checks: checks:
php: php:
no_trailing_whitespace: true no_trailing_whitespace: true
# code_rating: true code_rating: true
# duplication: true duplication: true
# fix_php_opening_tag: false fix_php_opening_tag: false
# remove_php_closing_tag: true remove_php_closing_tag: true
# one_class_per_file: true one_class_per_file: true
# side_effects_or_types: false side_effects_or_types: false
# no_mixed_inline_html: false no_mixed_inline_html: false
# require_braces_around_control_structures: true require_braces_around_control_structures: true
# php5_style_constructor: true php5_style_constructor: true
# no_global_keyword: false no_global_keyword: false
# avoid_usage_of_logical_operators: false avoid_usage_of_logical_operators: false
# psr2_class_declaration: true psr2_class_declaration: true
# no_underscore_prefix_in_properties: false no_underscore_prefix_in_properties: false
# no_underscore_prefix_in_methods: false no_underscore_prefix_in_methods: false
# blank_line_after_namespace_declaration: true blank_line_after_namespace_declaration: true
# single_namespace_per_use: false single_namespace_per_use: false
# psr2_switch_declaration: true psr2_switch_declaration: true
# psr2_control_structure_declaration: true psr2_control_structure_declaration: true
# avoid_superglobals: false avoid_superglobals: false
# security_vulnerabilities: false security_vulnerabilities: false
# no_exit: false no_exit: false
# uppercase_constants: true uppercase_constants: true
# prefer_while_loop_over_for_loop: true prefer_while_loop_over_for_loop: true
# newline_at_end_of_file: true newline_at_end_of_file: true
# line_length: line_length:
# max_length: '120' max_length: '120'
# parameter_doc_comments: true parameter_doc_comments: true
# parameters_in_camelcaps: true parameters_in_camelcaps: true
# return_doc_comments: true return_doc_comments: true
# use_self_instead_of_fqcn: true use_self_instead_of_fqcn: true
# overriding_parameter: false overriding_parameter: false
# avoid_entity_manager_injection: false avoid_entity_manager_injection: false
coding_style: coding_style:
php: php:
@ -69,38 +69,39 @@ coding_style:
size: 4 size: 4
switch: switch:
indent_case: true indent_case: true
# spaces: spaces:
# general: general:
# linefeed_character: newline linefeed_character: newline
# around_operators: around_operators:
# concatenation: false concatenation: false
# braces: braces:
# classes_functions: classes_functions:
# class: new-line class: new-line
# function: new-line function: new-line
# closure: end-of-line closure: end-of-line
# if: if:
# opening: end-of-line opening: end-of-line
# for: for:
# opening: end-of-line opening: end-of-line
# while: while:
# opening: end-of-line opening: end-of-line
# do_while: do_while:
# opening: end-of-line opening: end-of-line
# switch: switch:
# opening: end-of-line opening: end-of-line
# try: try:
# opening: end-of-line opening: end-of-line
#
# upper_lower_casing: upper_lower_casing:
# keywords: keywords:
# general: lower general: lower
# constants: constants:
# true_false_null: lower true_false_null: lower
tools:
php_analyzer: false
php_mess_detector: true
#tools:
# php_mess_detector:
# enabled: true
# extensions: # extensions:
# - php # - php
# command: phpmd # command: phpmd

Loading…
Cancel
Save