Skip to content

Commit bd06590

Browse files
authored
[LOPS-1661] Php8.3 (#2517)
* updated version number * Linting * bumpversion * Semver wants three digits * Update Changelog
1 parent fe4e3aa commit bd06590

File tree

6 files changed

+138
-135
lines changed

6 files changed

+138
-135
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# Change Log
22
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org)
33

4-
## 3.2.3-dev
4+
## 3.3.0 - 2023-11-28
5+
6+
- PHP 8.3 compatibility (#2555)
7+
- Misc 8.2 deprecations
8+
59

610
## 3.2.2 - 2023-09-28
711

bin/terminus

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ if (version_compare(PHP_VERSION, '7.4.0', '<') === true) {
2020
exit(1);
2121
}
2222

23-
if (!getenv('TERMINUS_ALLOW_UNSUPPORTED_NEWER_PHP') && version_compare(PHP_VERSION, '8.3.0', '>=') === true) {
23+
if (!getenv('TERMINUS_ALLOW_UNSUPPORTED_NEWER_PHP') && version_compare(PHP_VERSION, '8.4.0', '>=') === true) {
2424
fwrite(STDERR, "\n");
25-
fwrite(STDERR, 'PHP 8.3+ is not supported by this version of Terminus.' . "\n");
25+
fwrite(STDERR, 'PHP 8.4+ is not supported by this version of Terminus.' . "\n");
2626
fwrite(STDERR, 'Check for new versions at https://github.com/pantheon-systems/terminus/releases' . "\n");
2727
fwrite(STDERR, "\n");
2828
fwrite(STDERR, 'Set environment variable TERMINUS_ALLOW_UNSUPPORTED_NEWER_PHP to try continuing anyway.' . "\n");
@@ -32,7 +32,7 @@ if (!getenv('TERMINUS_ALLOW_UNSUPPORTED_NEWER_PHP') && version_compare(PHP_VERSI
3232

3333
// This variable is automatically managed via updateDependenciesversion() in /RoboFile.php,
3434
// which is run after every call to composer update.
35-
$terminusPluginsDependenciesVersion = '27e14f5059';
35+
$terminusPluginsDependenciesVersion = 'f512ad328f';
3636

3737
// Cannot use $_SERVER superglobal since that's empty during phpunit testing
3838
// getenv('HOME') isn't set on Windows and generates a Notice.
@@ -55,8 +55,8 @@ $pharPath = \Phar::running(true);
5555
if ($pharPath) {
5656
include_once("$pharPath/vendor/autoload.php");
5757
} elseif (file_exists($path = __DIR__ . '/../vendor/autoload.php')
58-
|| file_exists($path = __DIR__ . '/../../autoload.php')
59-
|| file_exists($path = __DIR__ . '/../../../autoload.php')
58+
|| file_exists($path = __DIR__ . '/../../autoload.php')
59+
|| file_exists($path = __DIR__ . '/../../../autoload.php')
6060
) {
6161
include_once($path);
6262
} else {
@@ -70,9 +70,9 @@ $home_tokens_folder = '.terminus' . DIRECTORY_SEPARATOR . 'cache' . DIRECTORY_SE
7070
$tokens_dir = $home . DIRECTORY_SEPARATOR . $home_tokens_folder;
7171
if (!is_dir($tokens_dir)) {
7272
mkdir(
73-
$tokens_dir,
74-
0700,
75-
true
73+
$tokens_dir,
74+
0700,
75+
true
7676
);
7777
}
7878

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"czproject/git-php": "^4.0",
2626
"guzzlehttp/guzzle": "^7.0",
2727
"justinrainbow/json-schema": "^5.2",
28-
"league/container": "^3.4",
28+
"league/container": "^3",
2929
"monolog/monolog": "^2.2",
3030
"psy/psysh": "^0.11.9",
3131
"rogervila/array-diff-multidimensional": "^2.0",

0 commit comments

Comments
 (0)