Fixed issue with minification percent status output
This commit is contained in:
parent
be93645db9
commit
29edf6e591
@ -82,7 +82,7 @@ class PharBuilder
|
|||||||
$str_tot = $formatSize($size_tot);
|
$str_tot = $formatSize($size_tot);
|
||||||
if (!$verbatim) {
|
if (!$verbatim) {
|
||||||
$str_min = $formatSize($size_min);
|
$str_min = $formatSize($size_min);
|
||||||
$str_rat = sprintf("%.2f%%", 100/$str_tot*$str_min);
|
$str_rat = sprintf("%.2f%%", 100/$size_tot*$size_min);
|
||||||
log_debug("Size: %s, Minified: %s (%s)", $str_tot, $str_min, $str_rat);
|
log_debug("Size: %s, Minified: %s (%s)", $str_tot, $str_min, $str_rat);
|
||||||
} else {
|
} else {
|
||||||
log_debug("Size: %s", $str_tot);
|
log_debug("Size: %s", $str_tot);
|
||||||
|
Loading…
Reference in New Issue
Block a user