Skip to content

Commit c0fd79a

Browse files
Use beta version of site-process ^2 (#3885)
1 parent e27a2ff commit c0fd79a

File tree

6 files changed

+41
-66
lines changed

6 files changed

+41
-66
lines changed

.scenarios.lock/php5/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"consolidation/output-formatters": "^3.3.1",
6565
"consolidation/robo": "^1.4.4",
6666
"consolidation/site-alias": "^2.1.1",
67-
"consolidation/site-process": "^1.1.2",
67+
"consolidation/site-process": "^2.0.0-beta2",
6868
"grasmash/yaml-expander": "^1.1.1",
6969
"league/container": "~2",
7070
"psr/log": "~1.0",

.scenarios.lock/php5/composer.lock

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

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"consolidation/output-formatters": "^3.3.1",
4141
"consolidation/robo": "^1.4.4",
4242
"consolidation/site-alias": "^2.1.1",
43-
"consolidation/site-process": "^1.1.2",
43+
"consolidation/site-process": "^2.0.0-beta2",
4444
"grasmash/yaml-expander": "^1.1.1",
4545
"league/container": "~2",
4646
"psr/log": "~1.0",

composer.lock

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

src/Runtime/DependencyInjection.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ protected function addDrushServices(ContainerInterface $container, ClassLoader $
106106
$container->share('ssh.transport', \Consolidation\SiteProcess\Factory\SshTransportFactory::class);
107107
$container->share('docker-compose.transport', \Consolidation\SiteProcess\Factory\DockerComposeTransportFactory::class);
108108
$container->share('process.manager', 'Drush\SiteAlias\ProcessManager')
109+
->withMethodCall('setConfig', ['config'])
109110
->withMethodCall('add', ['ssh.transport'])
110111
->withMethodCall('add', ['docker-compose.transport']);
111112
$container->share('redispatch.hook', 'Drush\Runtime\RedispatchHook')

src/SiteAlias/ProcessManager.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,12 @@
1212
use Consolidation\SiteProcess\ProcessBase;
1313
use Consolidation\SiteProcess\SiteProcess;
1414
use Webmozart\PathUtil\Path;
15-
use Drush\Config\ConfigAwareTrait;
16-
use Robo\Contract\ConfigAwareInterface;
1715

1816
/**
1917
* The Drush ProcessManager adds a few Drush-specific service methods.
2018
*/
21-
class ProcessManager extends ConsolidationProcessManager implements ConfigAwareInterface
19+
class ProcessManager extends ConsolidationProcessManager
2220
{
23-
use ConfigAwareTrait;
24-
2521
/**
2622
* Run a Drush command on a site alias (or @self).
2723
*

0 commit comments

Comments
 (0)