.php_cs 576 B

1234567891011121314151617181920212223
  1. <?php
  2. use PhpCsFixer\Config;
  3. use PhpCsFixer\Finder;
  4. $finder = Finder::create()
  5. ->in(['src', 'tests']);
  6. return Config::create()
  7. ->setRules([
  8. '@Symfony' => true,
  9. 'ordered_imports' => true,
  10. 'phpdoc_align' => false,
  11. 'phpdoc_to_comment' => false,
  12. 'phpdoc_inline_tag' => false,
  13. 'yoda_style' => false,
  14. 'blank_line_before_statement' => false,
  15. 'phpdoc_separation' => false,
  16. 'pre_increment' => false,
  17. 'increment_style' => false,
  18. 'phpdoc_types' => false,
  19. ])
  20. ->setFinder($finder);