Skip to content

Commit b9cdea3

Browse files
committed
Last php 5.4 compatible version
1 parent b74bbdd commit b9cdea3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"psr-4": { "Leafo\\ScssPhp\\Test\\": "tests/" }
2222
},
2323
"require": {
24-
"php": "^5.6.0 || ^7"
24+
"php": "^5.4.0 || ^7"
2525
},
2626
"require-dev": {
2727
"squizlabs/php_codesniffer": "~2.5",

scss.inc.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
2-
if (version_compare(PHP_VERSION, '5.6') < 0) {
3-
throw new \Exception('scssphp requires PHP 5.6 or above');
2+
if (version_compare(PHP_VERSION, '5.4') < 0) {
3+
throw new \Exception('scssphp requires PHP 5.4 or above');
44
}
55

66
if (! class_exists('Leafo\ScssPhp\Version', false)) {

src/Version.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
*/
1919
class Version
2020
{
21-
const VERSION = 'v0.8.3';
21+
const VERSION = 'v0.8.4';
2222
}

0 commit comments

Comments
 (0)