protected static function compressFiles($content)
    {
        $var = ["\r\n", "\r", "\n", "\t", '  ', '    ', '    '];

        $content = preg_replace('!/\*[^*]*\*+([^/][^*]*\*+)*/!', '', $content);

        $content = str_replace($var, '', $content);
        $content = str_replace('{ ', '{', $content);
        $content = str_replace(' }', '}', $content);
        $content = str_replace('; ', ';', $content);

        return $content;
    }
protected static function compressFiles($content)
    {
        $var = ["\r\n", "\r", "\n", "\t", '  ', '    ', '    '];

        $content = preg_replace('!/\*[^*]*\*+([^/][^*]*\*+)*/!', '', $content);

        $content = str_replace($var, '', $content);
        $content = str_replace('{ ', '{', $content);
        $content = str_replace(' }', '}', $content);
        $content = str_replace('; ', ';', $content);

        return $content;
    }
protected static function compressFiles ( $ content ) { $ var = [ "\r\n" , "\r" , "\n" , "\t" , '  ' , '    ' , '    ' ] ; $ content = preg_replace ( '!/\*[^*]*\*+([^/][^*]*\*+)*/!' , '' , $ content ) ; $ content = str_replace ( $ var , '' , $ content ) ; $ content = str_replace ( '{ ' , '{' , $ content ) ; $ content = str_replace ( ' }' , '}' , $ content ) ; $ content = str_replace ( '; ' , ';' , $ content ) ; return $ content ; }
File minifier.

@since 1.1.5

@author powerbuoy (https://github.com/powerbuoy)

@param string $content → file content

@return array → unified parameters
File minifier .