Repository Config
filter:
excluded_paths:
- 'tests/*'
checks:
php: true
coding_style:
php:
spaces:
general:
linefeed_character: newline
other:
after_type_cast: false
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
Global Config
tools:
php_sim: true
php_pdepend: true
php_analyzer: true
filter:
excluded_paths:
- 'tests/*'
checks:
php:
verify_property_names: true
verify_argument_usable_as_reference: true
verify_access_scope_valid: true
variable_existence: true
useless_calls: true
use_statement_alias_conflict: true
use_self_instead_of_fqcn: true
uppercase_constants: true
unused_variables: true
unused_properties: true
unused_parameters: true
unused_methods: true
unreachable_code: true
too_many_arguments: true
symfony_request_injection: true
require_scope_for_properties: true
require_scope_for_methods: true
property_assignments: true
precedence_mistakes: true
precedence_in_conditions: true
phpunit_assertions: true
php5_style_constructor: true
parameter_non_unique: true
overriding_private_members: true
no_unnecessary_if: true
no_unnecessary_function_call_in_for_loop: true
no_property_on_interface: true
no_non_implemented_abstract_methods: true
no_empty_statements: true
missing_arguments: true
method_calls_on_non_object: true
lowercase_basic_constants: true
instanceof_class_exists: true
foreach_usable_as_reference: true
foreach_traversable: true
encourage_single_quotes: true
encourage_shallow_comparison: true
encourage_postdec_operator: true
duplication: true
deprecated_code_usage: true
deadlock_detection_in_loops: true
code_rating: true
closure_use_not_conflicting: true
closure_use_modifiable: true
catch_class_exists: true
avoid_useless_overridden_methods: true
avoid_unnecessary_concatenation: true
avoid_todo_comments: true
avoid_entity_manager_injection: true
avoid_duplicate_types: true
avoid_corrupting_byteorder_marks: true
avoid_conflicting_incrementers: true
avoid_aliased_php_functions: true
assignment_of_null_return: true
argument_type_checks: true
align_assignments: true