Repository Config
build:
tests:
override:
-
command: 'phpunit --coverage-clover=some-file'
coverage:
file: 'some-file'
format: 'clover'
filter:
excluded_paths:
- 'tests/*'
checks:
php:
argument_type_checks: true
verify_property_names: true
verify_argument_usable_as_reference: true
unused_methods: true
unused_variables: true
too_many_arguments: true
switch_fallthrough_commented: true
verify_access_scope_valid: true
sql_injection_vulnerabilities: true
security_vulnerabilities: true
single_namespace_per_use: true
useless_calls: true
unused_properties: true
variable_existence: true
return_in_constructor: true
parse_doc_comments: true
property_assignments: true
precedence_in_conditions: true
unused_parameters: true
psr2_class_declaration: true
no_underscore_prefix_in_properties: true
use_statement_alias_conflict: true
no_unnecessary_if: true
no_trait_type_hints: true
psr2_switch_declaration: true
precedence_mistakes: true
no_exit: true
no_empty_statements: true
php5_style_constructor: true
side_effects_or_types: true
unreachable_code: true
fix_doc_comments: true
no_non_implemented_abstract_methods: true
missing_arguments: true
require_scope_for_properties: true
parameter_non_unique: true
foreach_usable_as_reference: true
no_underscore_prefix_in_methods: true
symfony_request_injection: true
closure_use_not_conflicting: true
foreach_traversable: true
no_trailing_whitespace: true
one_class_per_file: true
blank_line_after_namespace_declaration: true
require_scope_for_methods: true
method_calls_on_non_object: true
avoid_aliased_php_functions: true
require_php_tag_first: true
no_commented_out_code: true
catch_class_exists: true
assignment_of_null_return: true
no_duplicate_arguments: true
avoid_superglobals: true
avoid_corrupting_byteorder_marks: true
no_unnecessary_final_modifier: true
no_debug_code: true
non_commented_empty_catch_block: true
no_global_keyword: true
overriding_private_members: true
no_eval: true
deprecated_code_usage: true
avoid_closing_tag: true
closure_use_modifiable: true
comparison_always_same_result: true
no_error_suppression: true
encourage_shallow_comparison: true
no_short_open_tag: true
instanceof_class_exists: true
code_rating: true
no_property_on_interface: true
avoid_conflicting_incrementers: true
avoid_useless_overridden_methods: true
deadlock_detection_in_loops: true
avoid_duplicate_types: true
call_to_parent_method: true
avoid_usage_of_logical_operators: true
simplify_boolean_return: true
avoid_length_functions_in_loops: true
return_doc_comment_if_not_inferrable: true
parameter_doc_comments: true
avoid_entity_manager_injection: true
use_self_instead_of_fqcn: true
uppercase_constants: true
duplication: true
return_doc_comments: true
check_method_contracts:
verify_interface_like_constraints: false
verify_documented_constraints: false
verify_parent_constraints: false
remove_extra_empty_lines: true
coding_style:
php:
indentation:
general:
use_tabs: true
spaces:
general:
linefeed_character: newline
braces:
classes_functions:
class: undefined
function: undefined
closure: undefined
if:
opening: undefined
for:
opening: undefined
while:
opening: undefined
do_while:
opening: undefined
switch:
opening: undefined
try:
opening: undefined
upper_lower_casing:
keywords:
general: undefined
constants:
true_false_null: undefined