Skip to content

Instantly share code, notes, and snippets.

@Skouat
Last active January 21, 2019 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Skouat/41132b7db6b332506329f580d18e196b to your computer and use it in GitHub Desktop.
Save Skouat/41132b7db6b332506329f580d18e196b to your computer and use it in GitHub Desktop.
Scrutinizer-ci Global config
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