酒店预订平台
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.
 
 
 
 
 
 

30 line
764 B

  1. <?php
  2. $header = <<<EOF
  3. This file is part of the EasyWeChatComposer.
  4. (c) 张铭阳 <mingyoungcheung@gmail.com>
  5. This source file is subject to the MIT license that is bundled
  6. with this source code in the file LICENSE.
  7. EOF;
  8. return PhpCsFixer\Config::create()
  9. ->setRiskyAllowed(true)
  10. ->setRules([
  11. '@Symfony' => true,
  12. 'header_comment' => ['header' => $header],
  13. 'declare_strict_types' => true,
  14. 'ordered_imports' => true,
  15. 'strict_comparison' => true,
  16. 'no_empty_comment' => false,
  17. 'yoda_style' => false,
  18. ])
  19. ->setFinder(
  20. PhpCsFixer\Finder::create()
  21. ->exclude('vendor')
  22. ->notPath('src/Laravel/config.php', 'src/Laravel/routes.php')
  23. ->in(__DIR__)
  24. )
  25. ;