friendica-github/.php_cs
Hypolite Petovan 077f69d00d Add PHP CS Fixer tool
- Add executable in `util`
- Add config file for a project-wide run of the fixer
2016-10-03 08:50:31 -04:00

16 lines
331 B
PHP

<?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)
;