Dashboard sipadu mbip
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. $finder = PhpCsFixer\Finder::create()
  3. ->in('demo')
  4. ->in('Highlight')
  5. ->in('HighlightUtilities')
  6. ->in('test')
  7. ;
  8. return PhpCsFixer\Config::create()
  9. ->setRules([
  10. '@PSR1' => true,
  11. '@PSR2' => true,
  12. '@Symfony' => true,
  13. 'array_syntax' => ['syntax' => 'long'],
  14. 'concat_space' => ['spacing' => 'one'],
  15. 'no_useless_else' => true,
  16. 'no_useless_return' => true,
  17. 'phpdoc_align' => true,
  18. 'phpdoc_order' => true,
  19. 'phpdoc_trim_consecutive_blank_line_separation' => true,
  20. 'single_quote' => false,
  21. 'ternary_to_null_coalescing' => true,
  22. 'trailing_comma_in_multiline_array' => true,
  23. 'yoda_style' => [
  24. 'equal' => false,
  25. 'identical' => false,
  26. ],
  27. ])
  28. ->setFinder($finder)
  29. ;