Skip to content

Commit 2b9e1af

Browse files
committed
minor #16474 [Testing] Removed redundancy in package requirements (fridde)
This PR was merged into the 6.0 branch. Discussion ---------- [Testing] Removed redundancy in package requirements Acoording to [symfony/testpack](https://github.com/symfony/test-pack/blob/main/composer.json) the ```phpunit/phpunit``` package is explictly included. There might be a point in showing both for clarity, but for me this redundancy created more confusion than it had explanation value. I do understand that this might be a slightly controversial PR. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- 6667e41 Removed redundancy in package requirements
2 parents d823c46 + 6667e41 commit 2b9e1af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

testing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ Symfony integrates with an independent library called `PHPUnit`_ to give
1515
you a rich testing framework. This article won't cover PHPUnit itself,
1616
which has its own excellent `documentation`_.
1717

18-
Before creating your first test, install ``phpunit/phpunit`` and the
19-
``symfony/test-pack``, which installs some other packages providing useful
18+
Before creating your first test, install ``phpunit/phpunit`` by installing
19+
``symfony/test-pack``, which also installs some other packages providing useful
2020
Symfony test utilities:
2121

2222
.. code-block:: terminal
2323
24-
$ composer require --dev phpunit/phpunit symfony/test-pack
24+
$ composer require --dev symfony/test-pack
2525
2626
After the library is installed, try running PHPUnit:
2727

0 commit comments

Comments
 (0)