Skip to content

Commit

Permalink
ISAICP-5988: Require consolidation/robo:^2.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiu-cristea committed Jun 11, 2020
1 parent 4d1884e commit bdfdc28
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
12 changes: 9 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"prefer-stable": true,
"require": {
"php": ">=7.2",
"consolidation/robo": "^1.4.7",
"consolidation/robo": "^2.1",
"gitonomy/gitlib": "^1.0",
"jakeasmith/http_build_url": "^1.0.1",
"nuvoleweb/robo-config": "^0.2.1",
"nuvoleweb/robo-config": "dev-robo-2.x",
"symfony/console": "^3.4.21|^4|^5"
},
"require-dev": {
Expand All @@ -36,5 +36,11 @@
"bin": ["bin/run"],
"config": {
"sort-packages": true
}
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/claudiu-cristea/robo-config.git"
}
]
}
9 changes: 0 additions & 9 deletions src/Commands/DrupalCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@

namespace OpenEuropa\TaskRunner\Commands;

use Consolidation\AnnotatedCommand\CommandData;
use NuvoleWeb\Robo\Task as NuvoleWebTasks;
use OpenEuropa\TaskRunner\Contract\FilesystemAwareInterface;
use OpenEuropa\TaskRunner\Tasks as TaskRunnerTasks;
use OpenEuropa\TaskRunner\Traits as TaskRunnerTraits;
use Symfony\Component\Console\Event\ConsoleCommandEvent;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Yaml\Yaml;

/**
* Base class for commands that interact with a Drupal installation.
*
Expand Down
4 changes: 2 additions & 2 deletions src/Tasks/CollectionFactory/CollectionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ protected function taskFactory($task)
return $this->taskFilesystemStack()->chmod($task['file'], $task['permissions'], $task['umask'], $task['recursive']);

case "chgrp":
return $this->taskFilesystemStack()->chgrp($task['file'], $task['group'], $task['umask'], $task['recursive']);
return $this->taskFilesystemStack()->chgrp($task['file'], $task['group'], $task['recursive']);

case "chown":
return $this->taskFilesystemStack()->chown($task['file'], $task['user'], $task['umask'], $task['recursive']);
return $this->taskFilesystemStack()->chown($task['file'], $task['user'], $task['recursive']);

case "remove":
return $this->taskFilesystemStack()->remove($task['file']);
Expand Down

0 comments on commit bdfdc28

Please sign in to comment.