From eb4c0f6541c21407b35d4acaba59ab0df5c199be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 5 Jan 2018 13:03:28 +0200 Subject: [PATCH] leafo/scssphp: allow 0.3/0.6/0.7 tests/ScssSourceTest.php passed with all versions refs: - commit ddf3a4e57f - PR #562 --- composer.json | 2 +- tests/ScssSourceTest.php | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/composer.json b/composer.json index c8858b6..651f1f8 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/tests/ScssSourceTest.php b/tests/ScssSourceTest.php index aa2cdf9..2a2dec9 100644 --- a/tests/ScssSourceTest.php +++ b/tests/ScssSourceTest.php @@ -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; }