build: environment: php: version: 5.5.12 ini: 'date.timezone': 'Europe/Helsinki' tests: override: - command: 'phpunit --coverage-clover=clover.xml' coverage: file: 'clover.xml' format: 'php-clover' checks: php: avoid_superglobals: true avoid_usage_of_logical_operators: true blank_line_after_namespace_declaration: true code_rating: true duplication: true fix_php_opening_tag: true no_exit: true no_global_keyword: true no_mixed_inline_html: true no_underscore_prefix_in_methods: true no_underscore_prefix_in_properties: true one_class_per_file: true php5_style_constructor: true psr2_class_declaration: true psr2_control_structure_declaration: true psr2_switch_declaration: true remove_php_closing_tag: true require_braces_around_control_structures: true security_vulnerabilities: true side_effects_or_types: true single_namespace_per_use: 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 coding_style: php: { }