inherit: true tools: external_code_coverage: false php_code_coverage: false php_code_sniffer: config: { standard: 'Zend' } php_changetracking: false php_sim: false php_cs_fixer: true php_mess_detector: true php_pdepend: true php_analyzer: true sensiolabs_security_checker: true checks: php: code_rating: true duplication: true build: environment: ruby: 2.2.0 php: '5.6.14' tests: before: - mkdir -p ~/artifacts - sudo apt-get install -y graphviz override: - { command: 'bash tools/bash/phpmetrics.sh', idle_timeout: 180 } cache: directories: [ vendor/, bin/, tools/] filter: paths: - 'magefix/src/*' build_failure_conditions: - 'elements.rating(<= C).exists' - 'issues.new.exists' - 'project.metric("scrutinizer.quality", < 9.5)' # inherit the next configuration down the chain inherit: true
checks: php: fix_php_opening_tag: false remove_php_closing_tag: false one_class_per_file: false side_effects_or_types: false no_mixed_inline_html: false require_braces_around_control_structures: false php5_style_constructor: false no_global_keyword: false avoid_usage_of_logical_operators: false psr2_class_declaration: false no_underscore_prefix_in_properties: false no_underscore_prefix_in_methods: false blank_line_after_namespace_declaration: false single_namespace_per_use: false psr2_switch_declaration: false psr2_control_structure_declaration: false avoid_superglobals: false security_vulnerabilities: false no_exit: false filter: { } coding_style: php: { }