.php_cs.dist 484 B

123456789101112131415
  1. <?php
  2. return PhpCsFixer\Config::create()
  3. ->setRules(array(
  4. '@Symfony' => true,
  5. '@Symfony:risky' => true,
  6. 'array_syntax' => array('syntax' => 'long'),
  7. 'no_unreachable_default_argument_value' => false,
  8. 'braces' => array('allow_single_line_closure' => true),
  9. 'heredoc_to_nowdoc' => false,
  10. 'phpdoc_annotation_without_dot' => false,
  11. ))
  12. ->setRiskyAllowed(true)
  13. ->setFinder(PhpCsFixer\Finder::create()->in(__DIR__))
  14. ;