Skip to content

Instantly share code, notes, and snippets.

@chrisyue
Last active August 29, 2015 14:05
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 chrisyue/9e1176cd1ef5b5697cef to your computer and use it in GitHub Desktop.
Save chrisyue/9e1176cd1ef5b5697cef to your computer and use it in GitHub Desktop.
php-cs-fixer config for Symfony2 project
<?php
$finder = Symfony\CS\Finder\DefaultFinder::create()
->in('src')
->in('app/config')
->in('app/Resources')
;
return Symfony\CS\Config\Config::create()
->setUsingCache(true)
->fixers(['-phpdoc_short_description', 'ordered_use'])
->finder($finder)
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment