From 580527bbf0ef097220b30045160d29e5e1b5509f Mon Sep 17 00:00:00 2001 From: Greg Anderson Date: Sun, 21 Feb 2021 10:50:37 -0800 Subject: [PATCH] Prepare for 3.0 stable (#1019) * Prepare for 3.0 stable * Update lock file --- CHANGELOG.md | 7 +++++++ README.md | 14 ++++++-------- composer.json | 2 +- composer.lock | 2 +- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 57e9983ec..172562567 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/README.md b/README.md index 0a27d97c3..38a248735 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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 diff --git a/composer.json b/composer.json index 86963aaab..6b3c27398 100644 --- a/composer.json +++ b/composer.json @@ -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": { diff --git a/composer.lock b/composer.lock index b56ef49e8..edb851d26 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": "05a75d7be0bc62fa6a1bcc98c99fd559", + "content-hash": "4fd1e3f88acef144d9db3aad07e6415e", "packages": [ { "name": "consolidation/annotated-command",