Skip to content

Instantly share code, notes, and snippets.

@mtthlm
Created April 27, 2014 19:09
Show Gist options
  • Save mtthlm/11353191 to your computer and use it in GitHub Desktop.
Save mtthlm/11353191 to your computer and use it in GitHub Desktop.
PHP-CS-Fixer config for Laravel
<?php
$finder = Symfony\CS\Finder\DefaultFinder::create()
->notPath('bootstrap/compiled.php')
->notName('composer.*')
->notName('readme.md')
->notName('CONTRIBUTING.md')
->notName('phpunit.xml*')
->in(__DIR__)
;
return Symfony\CS\Config\Config::create()
->finder($finder)
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment