Skip to content

Commit 7bb1017

Browse files
Allow php74 to work after dependencies update
1 parent 57f0d7d commit 7bb1017

File tree

4 files changed

+587
-684
lines changed

4 files changed

+587
-684
lines changed

bin/terminus

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
44

5-
TERMINUS_EXECUTABLE="$COMPOSER_RUNTIME_BIN_DIR/terminus.php"
5+
TERMINUS_EXECUTABLE="$SCRIPTPATH/terminus.php"
66

77
# If we can't find `terminus.php` next to `terminus`,
88
# look for `terminus.php` in the same directory.

bin/terminus.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// Unset memory limit
1313
ini_set('memory_limit', -1);
1414

15-
-if (version_compare(PHP_VERSION, '7.4.0', '<') === true) {
15+
if (version_compare(PHP_VERSION, '7.4.0', '<') === true) {
1616
fwrite(STDERR, "\n");
1717
fwrite(STDERR, 'Sorry, your PHP version (' . PHP_VERSION . ') is no longer supported.' . "\n");
1818
fwrite(STDERR, 'Upgrade to PHP 7.4 or newer to use Terminus 4. For PHP versions prior to 7.4, downgrade to Terminus 2.x.' . "\n\n");

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
"preferred-install": "dist",
165165
"sort-packages": true,
166166
"platform": {
167-
"php": "8.2.26"
167+
"php": "7.4.28"
168168
},
169169
"allow-plugins": {
170170
"phpstan/extension-installer": true

0 commit comments

Comments
 (0)