mirror of
https://github.com/mrclay/minify.git
synced 2025-01-17 13:18:13 +01:00
27 lines
468 B
PHP
27 lines
468 B
PHP
<?php
|
|
|
|
$finder = Symfony\CS\Finder\DefaultFinder::create()
|
|
->in(__DIR__ . '/lib')
|
|
;
|
|
|
|
return Symfony\CS\Config\Config::create()
|
|
->level(Symfony\CS\FixerInterface::NONE_LEVEL)
|
|
->setUsingCache(true)
|
|
->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)
|
|
;
|