We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec11ef3 commit 3b4eca0Copy full SHA for 3b4eca0
PrettyMin.php
@@ -2,6 +2,7 @@
2
namespace Wa72\HtmlPrettymin;
3
4
use JSMin\JSMin;
5
+use tubalmartin\CssMin\Minifier as CSSmin;
6
use Symfony\Component\OptionsResolver\OptionsResolver;
7
8
/**
@@ -183,7 +184,7 @@ protected function minifyCss()
183
184
$code = $element->nodeValue;
185
$element->nodeValue = '';
186
if (trim($code)) {
- $min = new \CSSmin();
187
+ $min = new CSSmin();
188
189
$code = trim($min->run($code));
190
}
composer.json
@@ -4,8 +4,9 @@
"type":"library",
"license":"MIT",
"require": {
+ "php": ">=5.4",
"mrclay/jsmin-php": "^2.3",
- "tubalmartin/cssmin": "^2.4",
9
+ "tubalmartin/cssmin": "^4",
10
"symfony/options-resolver": ">=2.3"
11
},
12
"require-dev": {
0 commit comments