diff --git a/bin/clean b/bin/clean index 9b9c6c3..de41ce7 100644 --- a/bin/clean +++ b/bin/clean @@ -1,6 +1,6 @@ #!/usr/bin/env php = 7 && PHP_MINOR_VERSION >= 1) ?: die('Sorry, PHP 7.1 or above is required to run XBackBone.'); +((PHP_MAJOR_VERSION >= 7 && PHP_MINOR_VERSION >= 1) || PHP_MAJOR_VERSION > 7) ?: die('Sorry, PHP 7.1 or above is required to run XBackBone.'); if (php_sapi_name() !== 'cli') { die(); } diff --git a/bin/migrate b/bin/migrate index c5f2a4c..362ca24 100644 --- a/bin/migrate +++ b/bin/migrate @@ -1,6 +1,6 @@ #!/usr/bin/env php = 7 && PHP_MINOR_VERSION >= 1) ?: die('Sorry, PHP 7.1 or above is required to run XBackBone.'); +((PHP_MAJOR_VERSION >= 7 && PHP_MINOR_VERSION >= 1) || PHP_MAJOR_VERSION > 7) ?: die('Sorry, PHP 7.1 or above is required to run XBackBone.'); if (php_sapi_name() !== 'cli') { die(); } diff --git a/bin/theme b/bin/theme index d5fdcd8..b5328dd 100644 --- a/bin/theme +++ b/bin/theme @@ -1,6 +1,6 @@ #!/usr/bin/env php = 7 && PHP_MINOR_VERSION >= 1) ?: die('Sorry, PHP 7.1 or above is required to run XBackBone.'); +((PHP_MAJOR_VERSION >= 7 && PHP_MINOR_VERSION >= 1) || PHP_MAJOR_VERSION > 7) ?: die('Sorry, PHP 7.1 or above is required to run XBackBone.'); if (php_sapi_name() !== 'cli') { die(); }