Repository Config
filter:
excluded_paths:
- 'bin/*'
- 'test/*'
- 'module/*/test/*'
checks:
php:
uppercase_constants: true
no_goto: true
newline_at_end_of_file: true
naming_conventions:
local_variable: '^[a-z][a-zA-Z0-9]*$'
abstract_class_name: ^Abstract|Factory$
utility_class_name: 'Utils?$'
constant_name: '^[A-Z][A-Z0-9]*(?:_[A-Z0-9]+)*$'
property_name: '^[a-z][a-zA-Z0-9]*$'
method_name: '^(?:[a-z]|__)[a-zA-Z0-9]*$'
parameter_name: '^[a-z][a-zA-Z0-9]*$'
interface_name: '^[A-Z][a-zA-Z0-9]*Interface$'
type_name: '^[A-Z][a-zA-Z0-9]*$'
exception_name: '^[A-Z][a-zA-Z0-9]*Exception$'
isser_method_name: '^(?:is|has|should|may|supports)'
function_in_camel_caps: true
parameter_doc_comments: true
param_doc_comment_if_not_inferrable: true
optional_parameters_at_the_end: true
properties_in_camelcaps: true
use_self_instead_of_fqcn: true
return_doc_comments: true
switch_fallthrough_commented: true
verify_property_names: true
instanceof_class_exists: true
no_property_on_interface: false
security_vulnerabilities: false
coding_style:
php: { }