mirror of
https://github.com/friendica/friendica
synced 2024-12-24 12:00:15 +00:00
077f69d00d
- Add executable in `util` - Add config file for a project-wide run of the fixer
16 lines
331 B
PHP
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)
|
|
;
|