Skip to content

Instantly share code, notes, and snippets.

@rezuankassim
Created October 20, 2020 07:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rezuankassim/17ce0f0d51074952cdf23792133dbf07 to your computer and use it in GitHub Desktop.
Save rezuankassim/17ce0f0d51074952cdf23792133dbf07 to your computer and use it in GitHub Desktop.
<?php
use PhpCsFixer\Finder;
$finder = Finder::create()
->in([
__DIR__.'/app',
__DIR__.'/config',
__DIR__.'/database',
__DIR__.'/resources',
__DIR__.'/routes',
__DIR__.'/tests',
])
->exclude([
__DIR__.'/bootstrap',
__DIR__.'/node_modules',
__DIR__.'/storage'
])
->name('*.php')
->notName('*.blade.php')
->ignoreDotFiles(true)
->ignoreVCS(true);
return Rez\styles($finder);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment