-
-
Save Skouat/41132b7db6b332506329f580d18e196b to your computer and use it in GitHub Desktop.
Scrutinizer-ci Global config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
checks: | |
php: | |
uppercase_constants: true | |
remove_extra_empty_lines: true | |
fix_line_ending: true | |
encourage_single_quotes: true | |
encourage_postdec_operator: true | |
fix_doc_comments: false | |
newline_at_end_of_file: true | |
avoid_multiple_statements_on_same_line: true | |
fix_use_statements: | |
remove_unused: true | |
preserve_multiple: false | |
preserve_blanklines: false | |
order_alphabetically: true | |
param_doc_comment_if_not_inferrable: true | |
parameter_doc_comments: true | |
phpunit_assertions: true | |
simplify_boolean_return: true | |
coding_style: | |
php: | |
indentation: | |
general: | |
use_tabs: true | |
spaces: | |
around_operators: | |
concatenation: true | |
braces: | |
classes_functions: | |
class: new-line | |
function: new-line | |
closure: new-line | |
if: | |
opening: new-line | |
else_on_new_line: true | |
for: | |
opening: new-line | |
while: | |
opening: new-line | |
do_while: | |
opening: new-line | |
while_on_new_line: true | |
switch: | |
opening: new-line | |
try: | |
opening: new-line | |
catch_on_new_line: true | |
finally_on_new_line: true | |
upper_lower_casing: | |
keywords: | |
general: lower | |
constants: | |
true_false_null: lower |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment