Skip to content

Commit ec9fb98

Browse files
authored
Call new ignorePharRunningCheck function. (#2328)
* Call new ignorePharRunningCheck function. * Update consolidation/self-update package. * Update consolidation/self-update requirement to 2.0.4.
1 parent dc2a095 commit ec9fb98

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

bin/terminus

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if (!getenv('TERMINUS_ALLOW_UNSUPPORTED_NEWER_PHP') && version_compare(PHP_VERSI
3131

3232
// This variable is automatically managed via updateDependenciesversion() in /RoboFile.php,
3333
// which is run after every call to composer update.
34-
$terminusPluginsDependenciesVersion = 'cdec7a1afd';
34+
$terminusPluginsDependenciesVersion = '1b1da7aadb';
3535

3636
// Cannot use $_SERVER superglobal since that's empty during phpunit testing
3737
// getenv('HOME') isn't set on Windows and generates a Notice.

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"consolidation/filter-via-dot-access-data": "^2.0",
2121
"consolidation/output-formatters": "^4",
2222
"consolidation/robo": "^3",
23+
"consolidation/self-update": "^2.0.4",
2324
"consolidation/site-alias": "^3.1",
2425
"czproject/git-php": "^4.0",
2526
"guzzlehttp/guzzle": "^7.0",

composer.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Terminus.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ public function __construct(Config $config, InputInterface $input, OutputInterfa
120120
$application->getVersion(),
121121
'pantheon-systems/terminus'
122122
);
123+
$selfUpdateCommand->ignorePharRunningCheck();
123124
$application->add($selfUpdateCommand);
124125
}
125126

0 commit comments

Comments
 (0)