From 0b2bc1b9ecd8e4588bffc3c84e65eb5b262c6dcc Mon Sep 17 00:00:00 2001 From: Greg Anderson Date: Sat, 5 Sep 2020 07:23:44 -0700 Subject: [PATCH] Robo release 2.2.0 --- docs/tasks/Composer.md | 68 +++++++++++++++++++++--------------------- src/Robo.php | 2 +- 2 files changed, 35 insertions(+), 35 deletions(-) diff --git a/docs/tasks/Composer.md b/docs/tasks/Composer.md index 71848a3a9..2f3ec65ea 100644 --- a/docs/tasks/Composer.md +++ b/docs/tasks/Composer.md @@ -1,5 +1,39 @@ # Composer Tasks +## CheckPlatformReqs + + +Composer Check Platform Requirements + +``` php +taskComposerValidate()->run(); +?> +``` + +* `preferDist($preferDist = null)` adds `prefer-dist` option to composer +* `preferSource()` adds `prefer-source` option to composer +* `dev($dev = null)` adds `dev` option to composer +* `noDev()` adds `no-dev` option to composer +* `ansi($ansi = null)` adds `ansi` option to composer +* `noAnsi()` adds `no-ansi` option to composer +* `interaction($interaction = null)` * `param bool` $interaction +* `noInteraction()` adds `no-interaction` option to composer +* `optimizeAutoloader($optimize = null)` adds `optimize-autoloader` option to composer +* `ignorePlatformRequirements($ignore = null)` adds `ignore-platform-reqs` option to composer +* `disablePlugins($disable = null)` disable plugins +* `noScripts($disable = null)` skip scripts +* `workingDir($dir)` adds `--working-dir $dir` option to composer +* `buildCommand()` Copy class fields into command options as directed. +* `dir($dir)` Changes working directory of command +* `arg($arg)` Pass argument to executable. Its value will be automatically escaped. +* `args($args)` Pass methods parameters as arguments to executable. Argument values +* `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. +* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. +* `options(array $options, $separator = null)` Pass multiple options to executable. The associative array contains +* `optionList($option, $value = null, $separator = null)` Pass an option with multiple values to executable. Value can be a string or array. + ## Config @@ -378,37 +412,3 @@ $this->taskComposerValidate()->run(); * `options(array $options, $separator = null)` Pass multiple options to executable. The associative array contains * `optionList($option, $value = null, $separator = null)` Pass an option with multiple values to executable. Value can be a string or array. -## CheckPlatformReqs - - -Composer CheckPlatformReqs - -``` php -taskComposerCheckPlatformReqs()->run(); -?> -``` - -* `preferDist($preferDist = null)` adds `prefer-dist` option to composer -* `preferSource()` adds `prefer-source` option to composer -* `dev($dev = null)` adds `dev` option to composer -* `noDev()` adds `no-dev` option to composer -* `ansi($ansi = null)` adds `ansi` option to composer -* `noAnsi()` adds `no-ansi` option to composer -* `interaction($interaction = null)` * `param bool` $interaction -* `noInteraction()` adds `no-interaction` option to composer -* `optimizeAutoloader($optimize = null)` adds `optimize-autoloader` option to composer -* `ignorePlatformRequirements($ignore = null)` adds `ignore-platform-reqs` option to composer -* `disablePlugins($disable = null)` disable plugins -* `noScripts($disable = null)` skip scripts -* `workingDir($dir)` adds `--working-dir $dir` option to composer -* `buildCommand()` Copy class fields into command options as directed. -* `dir($dir)` Changes working directory of command -* `arg($arg)` Pass argument to executable. Its value will be automatically escaped. -* `args($args)` Pass methods parameters as arguments to executable. Argument values -* `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable. -* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter. -* `options(array $options, $separator = null)` Pass multiple options to executable. The associative array contains -* `optionList($option, $value = null, $separator = null)` Pass an option with multiple values to executable. Value can be a string or array. - diff --git a/src/Robo.php b/src/Robo.php index b15274ff3..73dcf7bf8 100644 --- a/src/Robo.php +++ b/src/Robo.php @@ -21,7 +21,7 @@ class Robo { const APPLICATION_NAME = 'Robo'; - const VERSION = '2.2.0-dev'; + const VERSION = '2.2.0'; /** * The currently active container object, or NULL if not initialized yet.