.php_cs 854 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Configuration file for PHP Coding Standards Fixer (php-cs-fixer).
  4. *
  5. * On GitHub: https://github.com/FriendsOfPhp/php-cs-fixer
  6. * More information: http://cs.sensiolabs.org/
  7. */
  8. $finder = Symfony\CS\Finder\DefaultFinder::create()
  9. ->in('lib')
  10. ;
  11. return Symfony\CS\Config\Config::create()
  12. ->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
  13. ->fixers(['concat_with_spaces', 'long_array_syntax', 'standardize_not_equal',
  14. 'operators_spaces', 'duplicate_semicolon',
  15. 'remove_leading_slash_use', 'align_equals',
  16. 'single_array_no_trailing_comma', 'phpdoc_indent', 'phpdoc_order',
  17. 'phpdoc_scalar', 'phpdoc_to_comment', 'phpdoc_trim',
  18. 'phpdoc_types', 'print_to_echo', 'self_accessor', 'single_quote',
  19. 'spaces_cast', 'ternary_spaces'])
  20. ->finder($finder)
  21. ;