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

leafo/scssphp: allow 0.3/0.6/0.7

tests/ScssSourceTest.php passed with all versions

refs:
- commit ddf3a4e57f
- PR #562
This commit is contained in:
Elan Ruusamäe
2018-01-05 13:03:28 +02:00
parent b6ef6fa397
commit eb4c0f6541
2 changed files with 1 additions and 5 deletions

View File

@@ -33,7 +33,7 @@
},
"require-dev": {
"firephp/firephp-core": "~0.4.0",
"leafo/scssphp": "~0.6.6",
"leafo/scssphp": "^0.3 || ^0.6 || ^0.7",
"marcusschwarz/lesserphp": "~0.5.1",
"meenie/javascript-packer": "~1.1",
"phpunit/phpunit": "^4.8.36",

View File

@@ -8,10 +8,6 @@ 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;
}