Skip to content

Commit

Permalink
Prepare for 3.0 stable (#1019)
Browse files Browse the repository at this point in the history
* Prepare for 3.0 stable

* Update lock file
  • Loading branch information
greg-1-anderson authored Feb 21, 2021
1 parent 4029514 commit 580527b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

### 3.0.0 02/21/2021

* PHP 8 support
* Update to league/container ^3
* Prefer passing `ConsoleIO $io` to commands over `$this->io()`, which is now deprecated.
* `loadTasks` renamed to `Tasks`

### 2.2.0 09/05/2020

* New CheckPlatformReqs task by Pierre Rudloff (#957)
Expand Down
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![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)

[![ci](https://github.com/consolidation/robo/workflows/CI/badge.svg)](https://travis-ci.org/consolidation/robo)
[![ci](https://github.com/consolidation/robo/workflows/CI/badge.svg)](https://github.com/consolidation/robo/actions)
[![scrutinizer](https://scrutinizer-ci.com/g/consolidation/robo/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/consolidation/robo/?branch=master)
[![codecov](https://codecov.io/gh/consolidation/robo/branch/main/graph/badge.svg?token=CAaB7ofhxx)](https://codecov.io/gh/consolidation/robo)
[![license](https://poser.pugx.org/consolidation/robo/license)](https://packagist.org/packages/consolidation/robo)
Expand All @@ -21,18 +21,16 @@

## Branches

| Branch | Support Level | Symfony Versions | PHP Versions |
| ------ | ------------- | ---------------- | ------------ |
| [3.x](https://github.com/consolidation/robo/tree/3.x) | Unstable | 4 & 5 | 7.1 - 8.0 |
| [2.x](https://github.com/consolidation/robo/tree/2.x) | Stable | 4 & 5 | 7.1 - 7.4 |
| [1.x](https://github.com/consolidation/robo/tree/1.x) | Not recommended | 2 - 4 | 5.5 - 7.4 |
| Branch | Support Level | Symfony Versions | League Container | PHP Versions |
| ------ | ------------- | ---------------- | ---------------- | ------------ |
| [3.x](https://github.com/consolidation/robo/tree/3.x) | Stable | 4 & 5 | ^3 | 7.1 - 8.0 |
| [2.x](https://github.com/consolidation/robo/tree/2.x) | Not recommended | 4 & 5 | ^2 | 7.1 - 7.4 |
| [1.x](https://github.com/consolidation/robo/tree/1.x) | Not recommended | 2 - 4 | ^2 | 5.5 - 7.4 |

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. For Symfony 2 or 3 support, or PHP versions prior to 7.1, please use the Robo 1.x branch.

All three branches of Robo are currently supported, although the 2.x and 1.x branches receive minimum support. All versions are roughly compatible; the breaking changes introduced at each major version are fairly minor, and typically only affect classes that are not used by most clients.

Note that the 3.x branch is still unstable; minor breaking changes, especially with respect to collections and the ConsoleIO class might still be made. To avoid tracking changes closely, typehint the $io parameter as SymfonyStyle rather than ConsoleIO. This technique also works on the 2.x branch.

## Installing

### Phar
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"patchwork/jsqueeze": "^2",
"pear/archive_tar": "^1.4.4",
"squizlabs/php_codesniffer": "^3",
"phpunit/phpunit": ">=7.5.20",
"phpunit/phpunit": "^7.5.20 | ^8",
"yoast/phpunit-polyfills": "^0.2.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 580527b

Please sign in to comment.