.php_cs.dist 620 B

123456789101112131415161718192021222324
  1. <?php
  2. return PhpCsFixer\Config::create()
  3. ->setRules([
  4. '@Symfony' => true,
  5. 'array_syntax' => ['syntax' => 'short'],
  6. 'braces' => [
  7. 'position_after_functions_and_oop_constructs' => 'same'
  8. ],
  9. 'ordered_imports' => true,
  10. 'increment_style' => null,
  11. 'yoda_style' => [
  12. 'equal' => false,
  13. 'identical' => false,
  14. 'less_and_greater' => false,
  15. ],
  16. ])
  17. ->setFinder(
  18. PhpCsFixer\Finder::create()
  19. ->in(__DIR__.'/config')
  20. ->in(__DIR__.'/src')
  21. ->in(__DIR__.'/tests')
  22. );