self::MINIFIED_JS_RATIO; } /** * @param string $content * @return string */ public function minifyJs($content) { return Minifier::minify($content); } private static function validateDependency() { if (!class_exists("JShrink\\Minifier")) { throw new Exception("JShrink could not be found, maybe you are using Matomo from git and need to update Composer. $ php composer.phar update"); } } }