diff --git a/.scenarios.lock/symfony4/composer.json b/.scenarios.lock/symfony4/composer.json index d01786823..f73860f2e 100644 --- a/.scenarios.lock/symfony4/composer.json +++ b/.scenarios.lock/symfony4/composer.json @@ -71,7 +71,7 @@ }, "extra": { "branch-alias": { - "dev-main": "2.x-dev" + "dev-2.x": "2.x-dev" } }, "suggest": { diff --git a/.scenarios.lock/symfony4/composer.lock b/.scenarios.lock/symfony4/composer.lock index 4b0e4d2ba..f777046f0 100644 --- a/.scenarios.lock/symfony4/composer.lock +++ b/.scenarios.lock/symfony4/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e1d542ed4ce7d5569b74a3504e5976ac", + "content-hash": "c1a5c623c10e8fcb64350dd7259060df", "packages": [ { "name": "consolidation/annotated-command", @@ -2057,16 +2057,16 @@ }, { "name": "symfony/console", - "version": "v4.4.11", + "version": "v4.4.12", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "55d07021da933dd0d633ffdab6f45d5b230c7e02" + "reference": "1f601a29fd7591a0316bffbc0d7550a5953c6c1c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/55d07021da933dd0d633ffdab6f45d5b230c7e02", - "reference": "55d07021da933dd0d633ffdab6f45d5b230c7e02", + "url": "https://api.github.com/repos/symfony/console/zipball/1f601a29fd7591a0316bffbc0d7550a5953c6c1c", + "reference": "1f601a29fd7591a0316bffbc0d7550a5953c6c1c", "shasum": "" }, "require": { @@ -2144,20 +2144,20 @@ "type": "tidelift" } ], - "time": "2020-07-06T13:18:39+00:00" + "time": "2020-08-17T07:39:58+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v4.4.11", + "version": "v4.4.12", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "6140fc7047dafc5abbe84ba16a34a86c0b0229b8" + "reference": "3e8ea5ccddd00556b86d69d42f99f1061a704030" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/6140fc7047dafc5abbe84ba16a34a86c0b0229b8", - "reference": "6140fc7047dafc5abbe84ba16a34a86c0b0229b8", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/3e8ea5ccddd00556b86d69d42f99f1061a704030", + "reference": "3e8ea5ccddd00556b86d69d42f99f1061a704030", "shasum": "" }, "require": { @@ -2228,7 +2228,7 @@ "type": "tidelift" } ], - "time": "2020-06-18T17:59:13+00:00" + "time": "2020-08-13T14:18:44+00:00" }, { "name": "symfony/event-dispatcher-contracts", @@ -2308,16 +2308,16 @@ }, { "name": "symfony/filesystem", - "version": "v4.4.11", + "version": "v4.4.12", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "b27f491309db5757816db672b256ea2e03677d30" + "reference": "27575bcbc68db1f6d06218891296572c9b845704" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/b27f491309db5757816db672b256ea2e03677d30", - "reference": "b27f491309db5757816db672b256ea2e03677d30", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/27575bcbc68db1f6d06218891296572c9b845704", + "reference": "27575bcbc68db1f6d06218891296572c9b845704", "shasum": "" }, "require": { @@ -2368,20 +2368,20 @@ "type": "tidelift" } ], - "time": "2020-05-30T18:50:54+00:00" + "time": "2020-08-21T17:19:37+00:00" }, { "name": "symfony/finder", - "version": "v4.4.11", + "version": "v4.4.12", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "2727aa35fddfada1dd37599948528e9b152eb742" + "reference": "2a78590b2c7e3de5c429628457c47541c58db9c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/2727aa35fddfada1dd37599948528e9b152eb742", - "reference": "2727aa35fddfada1dd37599948528e9b152eb742", + "url": "https://api.github.com/repos/symfony/finder/zipball/2a78590b2c7e3de5c429628457c47541c58db9c7", + "reference": "2a78590b2c7e3de5c429628457c47541c58db9c7", "shasum": "" }, "require": { @@ -2431,7 +2431,7 @@ "type": "tidelift" } ], - "time": "2020-07-05T09:39:30+00:00" + "time": "2020-08-17T09:56:45+00:00" }, { "name": "symfony/polyfill-ctype", @@ -2744,7 +2744,7 @@ }, { "name": "symfony/process", - "version": "v4.4.11", + "version": "v4.4.12", "source": { "type": "git", "url": "https://github.com/symfony/process.git", @@ -3791,16 +3791,16 @@ }, { "name": "symfony/config", - "version": "v4.4.11", + "version": "v4.4.12", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "b1d8f0d9341ea1d378b8b043ba90739f37c49d36" + "reference": "043bf8652c307ebc23ce44047d215eec889d8850" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/b1d8f0d9341ea1d378b8b043ba90739f37c49d36", - "reference": "b1d8f0d9341ea1d378b8b043ba90739f37c49d36", + "url": "https://api.github.com/repos/symfony/config/zipball/043bf8652c307ebc23ce44047d215eec889d8850", + "reference": "043bf8652c307ebc23ce44047d215eec889d8850", "shasum": "" }, "require": { @@ -3865,7 +3865,7 @@ "type": "tidelift" } ], - "time": "2020-07-15T08:27:46+00:00" + "time": "2020-08-10T07:27:51+00:00" }, { "name": "symfony/polyfill-intl-idn", @@ -4185,7 +4185,7 @@ }, { "name": "symfony/stopwatch", - "version": "v4.4.11", + "version": "v4.4.12", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", @@ -4249,16 +4249,16 @@ }, { "name": "symfony/yaml", - "version": "v4.4.11", + "version": "v4.4.12", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "c2d2cc66e892322cfcc03f8f12f8340dbd7a3f8a" + "reference": "e2a69525b11a33be51cb00b8d6d13a9258a296b1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/c2d2cc66e892322cfcc03f8f12f8340dbd7a3f8a", - "reference": "c2d2cc66e892322cfcc03f8f12f8340dbd7a3f8a", + "url": "https://api.github.com/repos/symfony/yaml/zipball/e2a69525b11a33be51cb00b8d6d13a9258a296b1", + "reference": "e2a69525b11a33be51cb00b8d6d13a9258a296b1", "shasum": "" }, "require": { @@ -4318,7 +4318,7 @@ "type": "tidelift" } ], - "time": "2020-05-20T08:37:50+00:00" + "time": "2020-08-26T08:30:46+00:00" } ], "aliases": [], diff --git a/.travis.yml b/.travis.yml index 1e1a62c40..f6decbbc8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,9 +2,9 @@ dist: trusty language: php branches: - # Only test the main branch and SemVer tags. + # Only test the 2.x branch and SemVer tags. only: - - main + - 2.x - 1.x - /^[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+.*$/ diff --git a/LICENSE b/LICENSE index f71812761..2b03bc950 100644 --- a/LICENSE +++ b/LICENSE @@ -33,14 +33,14 @@ grasmash/expander 1.0.0 MIT league/container 2.4.1 MIT psr/container 1.0.0 MIT psr/log 1.1.3 MIT -symfony/console v4.4.11 MIT -symfony/event-dispatcher v4.4.11 MIT +symfony/console v4.4.12 MIT +symfony/event-dispatcher v4.4.12 MIT symfony/event-dispatcher-contracts v1.1.9 MIT -symfony/filesystem v4.4.11 MIT -symfony/finder v4.4.11 MIT +symfony/filesystem v4.4.12 MIT +symfony/finder v4.4.12 MIT symfony/polyfill-ctype v1.18.1 MIT symfony/polyfill-mbstring v1.18.1 MIT symfony/polyfill-php73 v1.18.1 MIT symfony/polyfill-php80 v1.18.1 MIT -symfony/process v4.4.11 MIT +symfony/process v4.4.12 MIT symfony/service-contracts v1.1.9 MIT \ No newline at end of file diff --git a/README.md b/README.md index b577a1108..60071f1fc 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,9 @@ [![Latest Unstable Version](https://poser.pugx.org/consolidation/robo/v/unstable.png)](https://packagist.org/packages/consolidation/robo) [![Total Downloads](https://poser.pugx.org/consolidation/robo/downloads.png)](https://packagist.org/packages/consolidation/robo) -[![Build Status](https://travis-ci.org/consolidation/Robo.svg?branch=main)](https://travis-ci.org/consolidation/Robo) +[![Build Status](https://travis-ci.org/consolidation/Robo.svg?branch=2.x)](https://travis-ci.org/consolidation/Robo) [![Windows CI](https://ci.appveyor.com/api/projects/status/0823hnh06pw8ir4d?svg=true)](https://ci.appveyor.com/project/greg-1-anderson/robo) -[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/consolidation/Robo/badges/quality-score.png?b=main)](https://scrutinizer-ci.com/g/consolidation/Robo/?branch=main) +[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/consolidation/Robo/badges/quality-score.png?b=2.x)](https://scrutinizer-ci.com/g/consolidation/Robo/?branch=2.x) [![License](https://img.shields.io/badge/license-MIT-408677.svg)](LICENSE) * writing cross-platform scripts @@ -23,7 +23,7 @@ | Branch | Symfony Versions | PHP Versions | | ------ | ---------------- | ------------ | -| [main](https://github.com/consolidation/robo) | 4 only | [![PHP 7 only](https://img.shields.io/badge/PHP%207-only-92a9ed)](https://travis-ci.org/consolidation/Robo) | +| [2.x](https://github.com/consolidation/robo) | 4 only | [![PHP 7 only](https://img.shields.io/badge/PHP%207-only-92a9ed)](https://travis-ci.org/consolidation/Robo) | | [1.x](https://github.com/consolidation/robotree/1.x) | 2, 3 or 4 | [![PHP 5 supported](https://img.shields.io/badge/PHP%205-supported-408677)](https://travis-ci.org/consolidation/Robo) | The pre-build [robo.phar](http://robo.li/robo.phar) is built with Symfony 5, and requires PHP 7.2+. Robo also works with Symfony 4 and PHP 7.1.3+ if packaged as a library in another application. @@ -65,7 +65,7 @@ All protected methods in traits that start with `task` prefix are tasks and can ## Examples -The best way to learn Robo by example is to take a look into [its own RoboFile](https://github.com/consolidation/Robo/blob/main/RoboFile.php) +The best way to learn Robo by example is to take a look into [its own RoboFile](https://github.com/consolidation/Robo/blob/2.x/RoboFile.php) or [RoboFile of Codeception project](https://github.com/Codeception/Codeception/blob/2.4/RoboFile.php). There are also some basic example commands in `examples/RoboFile.php`. Here are some snippets from them: @@ -186,4 +186,4 @@ Brought to you by [Consolidation Team](https://github.com/orgs/consolidation/peo ## License -[MIT](https://github.com/consolidation/Robo/blob/main/LICENSE) +[MIT](https://github.com/consolidation/Robo/blob/2.x/LICENSE) diff --git a/composer.json b/composer.json index fc913d62b..b5b4069c6 100644 --- a/composer.json +++ b/composer.json @@ -87,7 +87,7 @@ } }, "branch-alias": { - "dev-main": "2.x-dev" + "dev-2.x": "2.x-dev" } }, "suggest": { diff --git a/composer.lock b/composer.lock index ddabf5928..685913480 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a3cfe3630771a17f21b837039f3b3243", + "content-hash": "61908230b6295a90b28d565e5fff8f18", "packages": [ { "name": "consolidation/annotated-command", @@ -662,16 +662,16 @@ }, { "name": "symfony/console", - "version": "v5.1.3", + "version": "v5.1.4", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "2226c68009627934b8cfc01260b4d287eab070df" + "reference": "51ff337ce194bdc3d8db12b20ce8cd54ac9f71e9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/2226c68009627934b8cfc01260b4d287eab070df", - "reference": "2226c68009627934b8cfc01260b4d287eab070df", + "url": "https://api.github.com/repos/symfony/console/zipball/51ff337ce194bdc3d8db12b20ce8cd54ac9f71e9", + "reference": "51ff337ce194bdc3d8db12b20ce8cd54ac9f71e9", "shasum": "" }, "require": { @@ -751,7 +751,7 @@ "type": "tidelift" } ], - "time": "2020-07-06T13:23:11+00:00" + "time": "2020-08-17T13:51:41+00:00" }, { "name": "symfony/deprecation-contracts", @@ -819,16 +819,16 @@ }, { "name": "symfony/event-dispatcher", - "version": "v5.1.3", + "version": "v5.1.4", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "7827d55911f91c070fc293ea51a06eec80797d76" + "reference": "94871fc0a69c3c5da57764187724cdce0755899c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/7827d55911f91c070fc293ea51a06eec80797d76", - "reference": "7827d55911f91c070fc293ea51a06eec80797d76", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/94871fc0a69c3c5da57764187724cdce0755899c", + "reference": "94871fc0a69c3c5da57764187724cdce0755899c", "shasum": "" }, "require": { @@ -901,7 +901,7 @@ "type": "tidelift" } ], - "time": "2020-06-18T18:24:02+00:00" + "time": "2020-08-13T14:19:42+00:00" }, { "name": "symfony/event-dispatcher-contracts", @@ -981,16 +981,16 @@ }, { "name": "symfony/filesystem", - "version": "v5.1.3", + "version": "v5.1.4", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "6e4320f06d5f2cce0d96530162491f4465179157" + "reference": "f7b9ed6142a34252d219801d9767dedbd711da1a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/6e4320f06d5f2cce0d96530162491f4465179157", - "reference": "6e4320f06d5f2cce0d96530162491f4465179157", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/f7b9ed6142a34252d219801d9767dedbd711da1a", + "reference": "f7b9ed6142a34252d219801d9767dedbd711da1a", "shasum": "" }, "require": { @@ -1041,20 +1041,20 @@ "type": "tidelift" } ], - "time": "2020-05-30T20:35:19+00:00" + "time": "2020-08-21T17:19:47+00:00" }, { "name": "symfony/finder", - "version": "v5.1.3", + "version": "v5.1.4", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "4298870062bfc667cb78d2b379be4bf5dec5f187" + "reference": "2b765f0cf6612b3636e738c0689b29aa63088d5d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/4298870062bfc667cb78d2b379be4bf5dec5f187", - "reference": "4298870062bfc667cb78d2b379be4bf5dec5f187", + "url": "https://api.github.com/repos/symfony/finder/zipball/2b765f0cf6612b3636e738c0689b29aa63088d5d", + "reference": "2b765f0cf6612b3636e738c0689b29aa63088d5d", "shasum": "" }, "require": { @@ -1104,7 +1104,7 @@ "type": "tidelift" } ], - "time": "2020-05-20T17:43:50+00:00" + "time": "2020-08-17T10:01:29+00:00" }, { "name": "symfony/polyfill-ctype", @@ -1576,7 +1576,7 @@ }, { "name": "symfony/process", - "version": "v5.1.3", + "version": "v5.1.4", "source": { "type": "git", "url": "https://github.com/symfony/process.git", @@ -1716,16 +1716,16 @@ }, { "name": "symfony/string", - "version": "v5.1.3", + "version": "v5.1.4", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "f629ba9b611c76224feb21fe2bcbf0b6f992300b" + "reference": "0de4cc1e18bb596226c06a82e2e7e9bc6001a63a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/f629ba9b611c76224feb21fe2bcbf0b6f992300b", - "reference": "f629ba9b611c76224feb21fe2bcbf0b6f992300b", + "url": "https://api.github.com/repos/symfony/string/zipball/0de4cc1e18bb596226c06a82e2e7e9bc6001a63a", + "reference": "0de4cc1e18bb596226c06a82e2e7e9bc6001a63a", "shasum": "" }, "require": { @@ -1797,7 +1797,7 @@ "type": "tidelift" } ], - "time": "2020-07-08T08:27:49+00:00" + "time": "2020-08-17T07:48:54+00:00" } ], "packages-dev": [ @@ -4008,16 +4008,16 @@ }, { "name": "symfony/config", - "version": "v5.1.3", + "version": "v5.1.4", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "cf63f0613a6c6918e96db39c07a43b01e19a0773" + "reference": "22f961ddffdc81389670b2ca74a1cc0213761ec0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/cf63f0613a6c6918e96db39c07a43b01e19a0773", - "reference": "cf63f0613a6c6918e96db39c07a43b01e19a0773", + "url": "https://api.github.com/repos/symfony/config/zipball/22f961ddffdc81389670b2ca74a1cc0213761ec0", + "reference": "22f961ddffdc81389670b2ca74a1cc0213761ec0", "shasum": "" }, "require": { @@ -4084,7 +4084,7 @@ "type": "tidelift" } ], - "time": "2020-07-15T10:53:22+00:00" + "time": "2020-08-17T07:48:54+00:00" }, { "name": "symfony/polyfill-intl-idn", @@ -4323,7 +4323,7 @@ }, { "name": "symfony/stopwatch", - "version": "v5.1.3", + "version": "v5.1.4", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", @@ -4387,16 +4387,16 @@ }, { "name": "symfony/yaml", - "version": "v5.1.3", + "version": "v5.1.4", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "ea342353a3ef4f453809acc4ebc55382231d4d23" + "reference": "a44bd3a91bfbf8db12367fa6ffac9c3eb1a8804a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/ea342353a3ef4f453809acc4ebc55382231d4d23", - "reference": "ea342353a3ef4f453809acc4ebc55382231d4d23", + "url": "https://api.github.com/repos/symfony/yaml/zipball/a44bd3a91bfbf8db12367fa6ffac9c3eb1a8804a", + "reference": "a44bd3a91bfbf8db12367fa6ffac9c3eb1a8804a", "shasum": "" }, "require": { @@ -4460,7 +4460,7 @@ "type": "tidelift" } ], - "time": "2020-05-20T17:43:50+00:00" + "time": "2020-08-26T08:30:57+00:00" }, { "name": "theseer/tokenizer",