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

Require later SCSS PHP for tests

No longer test PHP 5.3
This commit is contained in:
Steve Clay
2017-01-18 18:39:15 -05:00
parent d1786045b2
commit ddf3a4e57f
3 changed files with 5 additions and 2 deletions

View File

@@ -4,6 +4,10 @@ class ScssSourceTest extends TestCase
{
public function setUp()
{
if (version_compare(PHP_VERSION, '5.4.0', '<')) {
$this->markTestSkipped('scssphp is not compatible with this PHP version.');
}
$this->realDocRoot = $_SERVER['DOCUMENT_ROOT'];
$_SERVER['DOCUMENT_ROOT'] = self::$document_root;
}