• Dan Untenzu's avatar
    [FEATURE] Switch to PSR-2 · 96707e02
    Dan Untenzu authored
    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
    96707e02
tos.php 1.36 KB