Skip to content

Commit 0b2bc1b

Browse files
Robo release 2.2.0
1 parent aefe45b commit 0b2bc1b

File tree

2 files changed

+35
-35
lines changed

2 files changed

+35
-35
lines changed

docs/tasks/Composer.md

+34-34
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11
# Composer Tasks
22

3+
## CheckPlatformReqs
4+
5+
6+
Composer Check Platform Requirements
7+
8+
``` php
9+
<?php
10+
// simple execution
11+
$this->taskComposerValidate()->run();
12+
?>
13+
```
14+
15+
* `preferDist($preferDist = null)` adds `prefer-dist` option to composer
16+
* `preferSource()` adds `prefer-source` option to composer
17+
* `dev($dev = null)` adds `dev` option to composer
18+
* `noDev()` adds `no-dev` option to composer
19+
* `ansi($ansi = null)` adds `ansi` option to composer
20+
* `noAnsi()` adds `no-ansi` option to composer
21+
* `interaction($interaction = null)` * `param bool` $interaction
22+
* `noInteraction()` adds `no-interaction` option to composer
23+
* `optimizeAutoloader($optimize = null)` adds `optimize-autoloader` option to composer
24+
* `ignorePlatformRequirements($ignore = null)` adds `ignore-platform-reqs` option to composer
25+
* `disablePlugins($disable = null)` disable plugins
26+
* `noScripts($disable = null)` skip scripts
27+
* `workingDir($dir)` adds `--working-dir $dir` option to composer
28+
* `buildCommand()` Copy class fields into command options as directed.
29+
* `dir($dir)` Changes working directory of command
30+
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
31+
* `args($args)` Pass methods parameters as arguments to executable. Argument values
32+
* `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable.
33+
* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter.
34+
* `options(array $options, $separator = null)` Pass multiple options to executable. The associative array contains
35+
* `optionList($option, $value = null, $separator = null)` Pass an option with multiple values to executable. Value can be a string or array.
36+
337
## Config
438

539

@@ -378,37 +412,3 @@ $this->taskComposerValidate()->run();
378412
* `options(array $options, $separator = null)` Pass multiple options to executable. The associative array contains
379413
* `optionList($option, $value = null, $separator = null)` Pass an option with multiple values to executable. Value can be a string or array.
380414

381-
## CheckPlatformReqs
382-
383-
384-
Composer CheckPlatformReqs
385-
386-
``` php
387-
<?php
388-
// simple execution
389-
$this->taskComposerCheckPlatformReqs()->run();
390-
?>
391-
```
392-
393-
* `preferDist($preferDist = null)` adds `prefer-dist` option to composer
394-
* `preferSource()` adds `prefer-source` option to composer
395-
* `dev($dev = null)` adds `dev` option to composer
396-
* `noDev()` adds `no-dev` option to composer
397-
* `ansi($ansi = null)` adds `ansi` option to composer
398-
* `noAnsi()` adds `no-ansi` option to composer
399-
* `interaction($interaction = null)` * `param bool` $interaction
400-
* `noInteraction()` adds `no-interaction` option to composer
401-
* `optimizeAutoloader($optimize = null)` adds `optimize-autoloader` option to composer
402-
* `ignorePlatformRequirements($ignore = null)` adds `ignore-platform-reqs` option to composer
403-
* `disablePlugins($disable = null)` disable plugins
404-
* `noScripts($disable = null)` skip scripts
405-
* `workingDir($dir)` adds `--working-dir $dir` option to composer
406-
* `buildCommand()` Copy class fields into command options as directed.
407-
* `dir($dir)` Changes working directory of command
408-
* `arg($arg)` Pass argument to executable. Its value will be automatically escaped.
409-
* `args($args)` Pass methods parameters as arguments to executable. Argument values
410-
* `rawArg($arg)` Pass the provided string in its raw (as provided) form as an argument to executable.
411-
* `option($option, $value = null, $separator = null)` Pass option to executable. Options are prefixed with `--` , value can be provided in second parameter.
412-
* `options(array $options, $separator = null)` Pass multiple options to executable. The associative array contains
413-
* `optionList($option, $value = null, $separator = null)` Pass an option with multiple values to executable. Value can be a string or array.
414-

src/Robo.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class Robo
2222
{
2323
const APPLICATION_NAME = 'Robo';
24-
const VERSION = '2.2.0-dev';
24+
const VERSION = '2.2.0';
2525

2626
/**
2727
* The currently active container object, or NULL if not initialized yet.

0 commit comments

Comments
 (0)