mirror of
https://github.com/mrclay/minify.git
synced 2025-08-13 09:34:54 +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:
@@ -33,7 +33,7 @@
|
|||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"firephp/firephp-core": "~0.4.0",
|
"firephp/firephp-core": "~0.4.0",
|
||||||
"leafo/scssphp": "~0.6.6",
|
"leafo/scssphp": "^0.3 || ^0.6 || ^0.7",
|
||||||
"marcusschwarz/lesserphp": "~0.5.1",
|
"marcusschwarz/lesserphp": "~0.5.1",
|
||||||
"meenie/javascript-packer": "~1.1",
|
"meenie/javascript-packer": "~1.1",
|
||||||
"phpunit/phpunit": "^4.8.36",
|
"phpunit/phpunit": "^4.8.36",
|
||||||
|
@@ -8,10 +8,6 @@ class ScssSourceTest extends TestCase
|
|||||||
{
|
{
|
||||||
public function setUp()
|
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'];
|
$this->realDocRoot = $_SERVER['DOCUMENT_ROOT'];
|
||||||
$_SERVER['DOCUMENT_ROOT'] = self::$document_root;
|
$_SERVER['DOCUMENT_ROOT'] = self::$document_root;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user