.php-cs-fixer.dist.php 373 B

123456789101112131415161718192021222324
  1. <?php
  2. $finder = (new PhpCsFixer\Finder())
  3. ->in(__DIR__)
  4. ->exclude([
  5. 'bin',
  6. 'config/jwt',
  7. 'config/secrets',
  8. 'old',
  9. 'public',
  10. 'var',
  11. 'vendor',
  12. ])
  13. ->notPath([
  14. 'rector.php',
  15. ])
  16. ;
  17. return (new PhpCsFixer\Config())
  18. ->setRules([
  19. '@Symfony' => true,
  20. ])
  21. ->setFinder($finder)
  22. ;