diff --git a/composer.json b/composer.json index 7c2919e..fb57f4d 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "require": { "ext-pcre": "*", "firephp/firephp-core": "~0.4.0", - "php": ">=5.2.1", + "php": ">=5.3.0", "tubalmartin/cssmin": "~2.4.8", "mrclay/jsmin-php": "~2" }, diff --git a/lib/Minify.php b/lib/Minify.php index 9b208e3..f99330e 100644 --- a/lib/Minify.php +++ b/lib/Minify.php @@ -408,9 +408,9 @@ class Minify { $this->cache = new Minify_Cache_Null(); $env = new Minify_Env(); - $sourceFactory = new Minify_Source_Factory($env, [ + $sourceFactory = new Minify_Source_Factory($env, array( 'checkAllowDirs' => false, - ], $this->cache); + ), $this->cache); $controller = new Minify_Controller_Files($env, $sourceFactory); $options = array_merge($options, array(