.php-cs-fixer.php 348 B

1234567891011121314151617
  1. <?php
  2. $finder = PhpCsFixer\Finder::create()
  3. ->in(__DIR__.'/src')
  4. ->name('*.php')
  5. ;
  6. $config = (new PhpCsFixer\Config())
  7. ->setRiskyAllowed(true)
  8. ->setRules([
  9. '@Symfony' => true,
  10. 'trailing_comma_in_multiline' => false, // for methods this is incompatible with PHP 7
  11. ])
  12. ->setFinder($finder)
  13. ;
  14. return $config;