1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-12 00:54:35 +02:00

Minify::VERSION tracks only the major version

This commit is contained in:
Steve Clay
2016-05-12 10:27:34 -04:00
parent b7cf3808d7
commit 0db2af8741
2 changed files with 10 additions and 1 deletions

View File

@@ -26,7 +26,15 @@ use Psr\Log\LoggerInterface;
*/
class Minify {
const VERSION = '3.0.0';
/**
* API version
*
* This is only bumped when API breaks are done and should follow the major version of the library
*
* @var int
*/
const VERSION = 3;
const TYPE_CSS = 'text/css';
const TYPE_HTML = 'text/html';
// there is some debate over the ideal JS Content-Type, but this is the