Last active
February 26, 2019 07:17
-
-
Save jverdeyen/10872645e8701c380e253c256ae8d770 to your computer and use it in GitHub Desktop.
A default php-cs configuration
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
<?php | |
return Symfony\CS\Config\Config::create() | |
->level(Symfony\CS\FixerInterface::SYMFONY_LEVEL) | |
->fixers([ | |
'concat_with_spaces', | |
'multiline_spaces_before_semicolon', | |
'short_array_syntax', | |
'newline_after_open_tag', | |
'single_quote', | |
'ordered_use', | |
'phpdoc_order', | |
'-remove_lines_between_uses', | |
'-empty_return', | |
'-phpdoc_params', | |
'-phpdoc_short_description', | |
'echo_to_print', | |
'blankline_after_open_tag', | |
]) | |
->finder( | |
Symfony\CS\Finder\DefaultFinder::create() | |
->in('src/') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment