Repository Config
filter:
excluded_paths:
- 'tests/*'
checks:
php:
uppercase_constants: true
coding_style:
php:
spaces:
around_operators:
concatenation: true
other:
after_type_cast: false
Global Config
tools:
external_code_coverage:
timeout: 600 # Timeout in seconds.
checks:
php:
uppercase_constants: true
unused_variables: true
unused_properties: true
unused_methods: true
unreachable_code: true
return_in_constructor: true
return_doc_comments: true
require_scope_for_methods: true
require_php_tag_first: true
properties_in_camelcaps: true
php5_style_constructor: true
parse_doc_comments: true
parameters_in_camelcaps: true
parameter_doc_comments: true
overriding_private_members: true
one_class_per_file: true
no_unnecessary_if: false
no_short_open_tag: true
no_non_implemented_abstract_methods: true
no_exit: true
no_debug_code: true
more_specific_types_in_doc_comments: true
missing_arguments: true
method_calls_on_non_object: true
line_length:
max_length: '120'
foreach_traversable: true
encourage_shallow_comparison: true
encourage_single_quotes: true
avoid_corrupting_byteorder_marks: true
avoid_closing_tag: true
argument_type_checks: true