.php_cs.dist 322 B

12345678910111213141516
  1. <?php
  2. $finder = PhpCsFixer\Finder::create()
  3. ->exclude('backend-libs')
  4. ->in('src')
  5. ;
  6. return PhpCsFixer\Config::create()
  7. ->setRules([
  8. '@PSR2' => true,
  9. 'lowercase_constants' => true,
  10. 'braces' => ['position_after_functions_and_oop_constructs' => 'same']
  11. ])
  12. ->setFinder($finder)
  13. ;