Skip to content

Commit 7540e5c

Browse files
authored
Tweaking phpunit post-install message to give more information/context
1 parent 2c49e7c commit 7540e5c

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

phpunit/phpunit/4.7/post-install.txt

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
<bg=yellow;fg=black> </>
2-
<bg=yellow;fg=black> Adding phpunit/phpunit as a dependency is discouraged in favor of Symfony's PHPUnit Bridge. </>
3-
<bg=yellow;fg=black> </>
1+
<bg=yellow;fg=black> </>
2+
<bg=yellow;fg=black> Suggest: install Symfony's PHPUnit Bridge instead of phpunit/phpunit </>
3+
<bg=yellow;fg=black> </>
44

5-
* <fg=blue>Instead</>:
6-
1. Remove it now: <comment>composer remove --dev phpunit/phpunit</>
7-
2. Use Symfony's bridge: <comment>composer require --dev phpunit</>
5+
Symfony's PHPUnit bridge is a wrapper around PHPUnit that adds reports for deprecated code
6+
calls, an isolated PHPUnit that's separate from the dependencies of your app and more.
7+
See: https://symfony.com/doc/current/components/phpunit_bridge.html.
8+
9+
* <fg=blue>To install the PHPUnit bridge</>:
10+
1. Remove PHPUnit: <comment>composer remove --dev phpunit/phpunit</>
11+
2. Install Symfony's bridge: <comment>composer require --dev phpunit</>

0 commit comments

Comments
 (0)