From 7540e5ccac6ea493f4342225f1b8d290eb159d45 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Wed, 19 Aug 2020 09:05:28 -0400 Subject: [PATCH 1/3] Tweaking phpunit post-install message to give more information/context --- phpunit/phpunit/4.7/post-install.txt | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/phpunit/phpunit/4.7/post-install.txt b/phpunit/phpunit/4.7/post-install.txt index 103458f0..64233d01 100644 --- a/phpunit/phpunit/4.7/post-install.txt +++ b/phpunit/phpunit/4.7/post-install.txt @@ -1,7 +1,11 @@ - - Adding phpunit/phpunit as a dependency is discouraged in favor of Symfony's PHPUnit Bridge. - + + Suggest: install Symfony's PHPUnit Bridge instead of phpunit/phpunit + - * Instead: - 1. Remove it now: composer remove --dev phpunit/phpunit - 2. Use Symfony's bridge: composer require --dev phpunit +Symfony's PHPUnit bridge is a wrapper around PHPUnit that adds reports for deprecated code +calls, an isolated PHPUnit that's separate from the dependencies of your app and more. +See: https://symfony.com/doc/current/components/phpunit_bridge.html. + + * To install the PHPUnit bridge: + 1. Remove PHPUnit: composer remove --dev phpunit/phpunit + 2. Install Symfony's bridge: composer require --dev phpunit From e254114b5ab28e622c85c34b140a1e69b8ee6232 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Wed, 19 Aug 2020 09:11:40 -0400 Subject: [PATCH 2/3] Using non-Flex alias This is because, it *does* look a little odd to remove phpunit/phpunit and require phpunit. This is more descriptive --- phpunit/phpunit/4.7/post-install.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpunit/phpunit/4.7/post-install.txt b/phpunit/phpunit/4.7/post-install.txt index 64233d01..06e3761d 100644 --- a/phpunit/phpunit/4.7/post-install.txt +++ b/phpunit/phpunit/4.7/post-install.txt @@ -8,4 +8,4 @@ See: https://symfony.com/doc/current/components/phpunit_bridge.html. * To install the PHPUnit bridge: 1. Remove PHPUnit: composer remove --dev phpunit/phpunit - 2. Install Symfony's bridge: composer require --dev phpunit + 2. Install Symfony's bridge: composer require --dev symfony/phpunit-bridge From 716d324d9c4618d65c638dcd1b19796e0a248207 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Wed, 19 Aug 2020 09:15:48 -0400 Subject: [PATCH 3/3] tweaking wording --- phpunit/phpunit/4.7/post-install.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpunit/phpunit/4.7/post-install.txt b/phpunit/phpunit/4.7/post-install.txt index 06e3761d..937bc071 100644 --- a/phpunit/phpunit/4.7/post-install.txt +++ b/phpunit/phpunit/4.7/post-install.txt @@ -6,6 +6,6 @@ Symfony's PHPUnit bridge is a wrapper around PHPUnit that adds reports for depre calls, an isolated PHPUnit that's separate from the dependencies of your app and more. See: https://symfony.com/doc/current/components/phpunit_bridge.html. - * To install the PHPUnit bridge: + * If you want to install the PHPUnit bridge: 1. Remove PHPUnit: composer remove --dev phpunit/phpunit 2. Install Symfony's bridge: composer require --dev symfony/phpunit-bridge