From: Dan Untenzu Date: Tue, 24 Jan 2017 12:08:59 +0000 (+0100) Subject: [FEATURE] Switch to PSR-2 X-Git-Tag: 3.0.0~17 X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/commitdiff_plain/96707e02b8b24054e0827eaf169cc88504a1e78c?ds=sidebyside;hp=96707e02b8b24054e0827eaf169cc88504a1e78c [FEATURE] Switch to PSR-2 Convert all PHP files to PSR-2, which defined a basic Coding Style Guide for PHP projects. Using the awesome friendsofphp/php-cs-fixer tool, running with the @PSR2 ruleset. 1) script.php (no_spaces_after_function_name, braces) 2) f.php (indentation_type, no_spaces_after_function_name, braces) 3) install.php (indentation_type, function_declaration, elseif, no_spaces_after_function_name, braces) 4) lib/functions.php (no_spaces_inside_parenthesis, method_argument_space, function_declaration, elseif, no_spaces_after_function_name, lowercase_constants, lowercase_keywords, braces, single_blank_line_at_eof) 5) lib/functions.js.php (no_spaces_after_function_name) 6) lib/lang.php (function_declaration, no_spaces_after_function_name, lowercase_constants, no_closing_tag, braces, single_blank_line_at_eof) 7) lib/template/footer.php (braces) 8) lib/config.local.bak.php (method_argument_space, no_spaces_after_function_name, no_closing_tag, single_blank_line_at_eof) 9) lib/config.original.php (no_spaces_after_function_name, no_closing_tag, single_blank_line_at_eof) 0) lib/settings.php (indentation_type, no_spaces_after_function_name, braces) 1) lib/config.local.php (no_spaces_after_function_name, single_blank_line_at_eof) 2) index.php (indentation_type, no_spaces_after_function_name, braces) 3) admin.php (no_spaces_after_function_name, braces) 4) tos.php (no_spaces_after_function_name, no_closing_tag, single_blank_line_at_eof) Refs #103 ---