.php-cs-fixer.dist.php 770 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * @generated
  4. * @link https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/HEAD/doc/config.rst
  5. */
  6. $finder = PhpCsFixer\Finder::create()
  7. ->in(__DIR__)
  8. ->exclude('vendor')
  9. ->exclude('test')
  10. ->exclude('tests')
  11. ;
  12. $config = new PhpCsFixer\Config();
  13. return $config->setRules([
  14. '@PSR12' => true,
  15. 'phpdoc_order' => true,
  16. 'array_syntax' => [ 'syntax' => 'short' ],
  17. 'strict_comparison' => true,
  18. 'strict_param' => true,
  19. 'no_trailing_whitespace' => false,
  20. 'no_trailing_whitespace_in_comment' => false,
  21. 'braces' => false,
  22. 'single_blank_line_at_eof' => false,
  23. 'blank_line_after_namespace' => false,
  24. 'no_leading_import_slash' => false,
  25. ])
  26. ->setFinder($finder)
  27. ;