.php-cs-fixer.dist.php 464 B

1234567891011121314151617181920
  1. <?php
  2. $finder = PhpCsFixer\Finder::create()
  3. ->in(__DIR__)
  4. ->exclude('ext')
  5. ;
  6. $config = new PhpCsFixer\Config();
  7. return $config->setRules([
  8. '@Symfony' => true,
  9. 'not_operator_with_space' => true,
  10. 'yoda_style' => false,
  11. 'single_line_throw' => false,
  12. 'unary_operator_spaces' => false,
  13. 'visibility_required' => false,
  14. 'php_unit_test_class_requires_covers' => true,
  15. 'declare_strict_types' => true,
  16. ])
  17. ->setFinder($finder)
  18. ;