1
0

.php-cs-fixer.dist.php 491 B

123456789101112131415161718192021222324
  1. <?php
  2. declare(strict_types=1);
  3. require_once './vendor-bin/cs-fixer/vendor/autoload.php';
  4. use Nextcloud\CodingStandard\Config;
  5. $config = new Config();
  6. $config
  7. ->getFinder()
  8. ->ignoreVCSIgnored(true)
  9. ->exclude('config')
  10. ->exclude('data')
  11. ->notPath('3rdparty')
  12. ->notPath('build/integration/vendor')
  13. ->notPath('build/lib')
  14. ->notPath('build/node_modules')
  15. ->notPath('build/stubs')
  16. ->notPath('composer')
  17. ->notPath('node_modules')
  18. ->notPath('vendor')
  19. ->in(__DIR__);
  20. return $config;