.php-cs-fixer.php 521 B

12345678910111213141516171819202122
  1. <?php
  2. declare(strict_types=1);
  3. use Baijunyao\PhpCsFixer\Config;
  4. use PhpCsFixer\Finder;
  5. $finder = Finder::create()
  6. ->notPath('app/Console/Kernel.php')
  7. ->notPath('app/Http/Kernel.php')
  8. ->exclude('bootstrap')
  9. ->exclude('config')
  10. ->exclude('database/factories')
  11. ->exclude('public')
  12. ->exclude('resources')
  13. ->exclude('storage')
  14. ->notPath('_ide_helper.php')
  15. ->notPath('_ide_helper_models.php')
  16. ->notPath('server.php')
  17. ->in(__DIR__);
  18. return (new Config())->setFinder($finder);