diff --git a/.php_cs b/.php_cs index 0c6b9ead7..a2bd217ed 100644 --- a/.php_cs +++ b/.php_cs @@ -1,5 +1,15 @@ + Jordi Boggiano + +For the full copyright and license information, please view the LICENSE +file that was distributed with this source code. +EOF; + $finder = Symfony\CS\Finder\DefaultFinder::create() ->files() ->name('*.php') @@ -15,9 +25,14 @@ return Symfony\CS\Config\Config::create() '@PSR2' => true, 'duplicate_semicolon' => true, 'extra_empty_lines' => true, + 'header_comment' => array('header' => $header), 'include' => true, + 'long_array_syntax' => true, + 'method_separation' => true, 'multiline_array_trailing_comma' => true, 'namespace_no_leading_whitespace' => true, + 'no_blank_lines_after_class_opening' => true, + 'no_empty_lines_after_phpdocs' => true, 'object_operator' => true, 'operators_spaces' => true, 'phpdoc_align' => true, @@ -30,7 +45,10 @@ return Symfony\CS\Config\Config::create() 'phpdoc_type_to_var' => true, 'psr0' => true, 'return' => true, + 'remove_leading_slash_use' => true, + 'remove_lines_between_uses' => true, 'single_array_no_trailing_comma' => true, + 'single_blank_line_before_namespace' => true, 'spaces_cast' => true, 'standardize_not_equal' => true, 'ternary_spaces' => true,