.php_cs 291 B

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