.php_cs 735 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. $header = <<<'EOF'
  3. This file is part of the PHP CS utility.
  4. (c) Fabien Potencier <fabien@symfony.com>
  5. This source file is subject to the MIT license that is bundled
  6. with this source code in the file LICENSE.
  7. EOF;
  8. Symfony\CS\Fixer\Contrib\HeaderCommentFixer::setHeader($header);
  9. return Symfony\CS\Config\Config::create()
  10. // use default SYMFONY_LEVEL and extra fixers:
  11. ->fixers(array(
  12. 'header_comment',
  13. 'long_array_syntax',
  14. 'ordered_use',
  15. 'php_unit_construct',
  16. 'php_unit_strict',
  17. 'strict',
  18. 'strict_param',
  19. ))
  20. ->finder(
  21. Symfony\CS\Finder\DefaultFinder::create()
  22. ->exclude('Symfony/CS/Tests/Fixtures')
  23. ->in(__DIR__)
  24. )
  25. ;