.php-cs-fixer.dist.php 323 B

1234567891011121314151617
  1. <?php
  2. $config = new PhpCsFixer\Config();
  3. $config
  4. ->setRules([
  5. '@PSR2' => true,
  6. '@PSR12' => true,
  7. 'array_syntax' => ['syntax' => 'short']
  8. ])
  9. ->setFinder(
  10. PhpCsFixer\Finder::create()
  11. ->in(__DIR__ . '/src')
  12. ->in(__DIR__ . '/tests')
  13. )
  14. ;
  15. return $config;