mirror of
https://github.com/mrclay/minify.git
synced 2025-08-30 09:09:54 +02:00
Apply php-cs-fixer fixers
- braces - function_declaration - lowercase_keywords - method_argument_space - no_spaces_inside_parenthesis - no_trailing_whitespace - no_trailing_whitespace_in_comment - single_blank_line_at_eof
This commit is contained in:
@@ -27,7 +27,7 @@ $outfile = $cli->values['o'];
|
||||
$testRun = $cli->values['t'];
|
||||
$docRoot = $cli->values['d'];
|
||||
|
||||
$pathRewriter = function($css, $options) {
|
||||
$pathRewriter = function ($css, $options) {
|
||||
return Minify_CSS_UriRewriter::rewrite($css, $options['currentDir'], $options['docRoot']);
|
||||
};
|
||||
|
||||
@@ -54,9 +54,8 @@ $combined = Minify::combine($sources) . "\n";
|
||||
if ($testRun) {
|
||||
echo $combined;
|
||||
echo Minify_CSS_UriRewriter::$debugText . "\n";
|
||||
} else {
|
||||
} else {
|
||||
$fp = $cli->openOutput();
|
||||
fwrite($fp, $combined);
|
||||
$cli->closeOutput();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user