From 7540e5ccac6ea493f4342225f1b8d290eb159d45 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Wed, 19 Aug 2020 09:05:28 -0400 Subject: [PATCH] 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