Skip to content

Commit

Permalink
Include -W with the command
Browse files Browse the repository at this point in the history
  • Loading branch information
srtfisher committed Apr 25, 2024
1 parent 4ee1b40 commit 307d591
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ you have tests written in the old style, you will need to migrate them to PSR-4.
If you wish to continue using PHPUnit 9, you will need to downgrade to PHPUnit
9/Collision 6. To do so, run the following command:

composer require --dev phpunit/phpunit:^9 nunomaduro/collision:^6
composer require --dev phpunit/phpunit:^9 nunomaduro/collision:^6 -W

To upgrade an existing test suite to PHPUnit 10 and PSR-4 standards, consider
using a [helper tool](https://github.com/alleyinteractive/wp-to-psr-4/). You
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ protected function warn_if_test_suite_contains_legacy_test_cases( TestSuite $tes
<br />
Fear not, you don't have to upgrade to PHPUnit 10 right away. You can still use PHPUnit 9 by running the following code:
<div class="ml-2 mt-1 italic">composer require --dev phpunit/phpunit:^9 nunomaduro/collision:^6</div>
<div class="ml-2 mt-1 italic">composer require --dev phpunit/phpunit:^9 nunomaduro/collision:^6 -W</div>
</div>
<div>
For more information and tips on how to upgrade your codebase to PHPUnit 10, please refer to the 1.0 Release Changelog:
Expand Down

0 comments on commit 307d591

Please sign in to comment.