Skip to content

Commit

Permalink
Revert "fixes #360 - raise php requirement to 5.4"
Browse files Browse the repository at this point in the history
This reverts commit 90996f5.
  • Loading branch information
robocoder committed Nov 9, 2015
1 parent 1323ac5 commit 78a6f27
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: php
sudo: false

php:
- 5.3
- 5.4
- 5.5
- 5.6
Expand Down
4 changes: 2 additions & 2 deletions bin/pscss
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

error_reporting(E_ALL);

if (version_compare(PHP_VERSION, '5.4') < 0) {
die('Requires PHP 5.4 or above');
if (version_compare(PHP_VERSION, '5.3') < 0) {
die('Requires PHP 5.3 or above');
}

include __DIR__ . '/../scss.inc.php';
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"psr-4": { "Leafo\\ScssPhp\\Test\\": "tests/" }
},
"require": {
"php": ">=5.4.0"
"php": ">=5.3.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "~2.3",
Expand Down
4 changes: 2 additions & 2 deletions scss.inc.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
if (version_compare(PHP_VERSION, '5.4') < 0) {
die('Requires PHP 5.4 or above');
if (version_compare(PHP_VERSION, '5.3') < 0) {
die('Requires PHP 5.3 or above');
}

if (! class_exists('scssc', false)) {
Expand Down

2 comments on commit 78a6f27

@etu
Copy link
Contributor

@etu etu commented on 78a6f27 Nov 9, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Howcome?

@robocoder
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decided to decouple the vote results from the implementation. It willl still happen, just not in this release.

Please sign in to comment.