.php_cs 881 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. $PREDIS_HEADER = <<<EOS
  3. This file is part of the Predis package.
  4. (c) Daniele Alessandri <suppakilla@gmail.com>
  5. For the full copyright and license information, please view the LICENSE
  6. file that was distributed with this source code.
  7. EOS;
  8. Symfony\CS\Fixer\Contrib\HeaderCommentFixer::setHeader($PREDIS_HEADER);
  9. return Symfony\CS\Config\Config::create()
  10. ->setUsingCache(true)
  11. ->level(Symfony\CS\FixerInterface::SYMFONY_LEVEL)
  12. ->fixers(array(
  13. // Symfony
  14. '-unalign_equals',
  15. '-unalign_double_arrow',
  16. // Contribs
  17. 'header_comment',
  18. 'ordered_use',
  19. 'phpdoc_order',
  20. 'long_array_syntax',
  21. ))
  22. ->finder(
  23. Symfony\CS\Finder\DefaultFinder::create()
  24. ->in(__DIR__.'/bin')
  25. ->in(__DIR__.'/src')
  26. ->in(__DIR__.'/tests')
  27. ->in(__DIR__.'/examples')
  28. );