mirror of
https://github.com/mrclay/minify.git
synced 2025-01-17 21:28:14 +01:00
26 lines
445 B
Plaintext
26 lines
445 B
Plaintext
|
<?php
|
||
|
|
||
|
$finder = Symfony\CS\Finder\DefaultFinder::create()
|
||
|
->in(__DIR__ . '/lib')
|
||
|
;
|
||
|
|
||
|
return Symfony\CS\Config\Config::create()
|
||
|
->level(Symfony\CS\FixerInterface::NONE_LEVEL)
|
||
|
->fixers(array(
|
||
|
'linefeed',
|
||
|
'trailing_spaces',
|
||
|
'unused_use',
|
||
|
'short_tag',
|
||
|
'return',
|
||
|
'visibility',
|
||
|
'php_closing_tag',
|
||
|
'extra_empty_lines',
|
||
|
'function_declaration',
|
||
|
'include',
|
||
|
'controls_spaces',
|
||
|
'elseif',
|
||
|
'-eof_ending',
|
||
|
))
|
||
|
->finder($finder)
|
||
|
;
|