Add PHP CS Fixer tool
- Add executable in `util` - Add config file for a project-wide run of the fixer
This commit is contained in:
parent
50b07cb46a
commit
077f69d00d
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
$finder = Symfony\CS\Finder\DefaultFinder::create()
|
||||
->exclude('doc')
|
||||
->exclude('images')
|
||||
->exclude('js')
|
||||
->exclude('library')
|
||||
->exclude('mods')
|
||||
->exclude('spec')
|
||||
->in(__DIR__)
|
||||
;
|
||||
|
||||
return Symfony\CS\Config\Config::create()
|
||||
->level(Symfony\CS\FixerInterface::PSR2_LEVEL)
|
||||
->finder($finder)
|
||||
;
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user