Skip to content

Commit

Permalink
Updating changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
srtfisher authored Dec 11, 2023
1 parent d5f6957 commit 01865d4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- PHPUnit 10 support added and `nunomaduro/collision` depend on to v6-7.

**Upgrade Note:** When upgrading to Mantle v1 projects will receive PHPUnit 10
and `nunomaduro/collision` by default. You will need remove the
and `nunomaduro/collision` v7 by default. With the upgrade to PHPUnit 10/Collision 7,
you will need remove the
`printerClass="NunoMaduro\Collision\Adapters\Phpunit\Printer"` line from your
`phpunit.xml` file if you wish to continue with PHPUnit 10. PHPUnit 10 does
require tests to be written using a PSR-4 file structure
(`tests/Feature/MyExampleTest.php`). Consider using a
[helper tool](https://github.com/alleyinteractive/wp-to-psr-4/) to migrate
your tests to PSR-4.
`phpunit.xml` file if you wish to continue. **PHPUnit 10 does require tests to be
written using a PSR-4 file structure** (`tests/Feature/MyExampleTest.php`).
Consider using a [helper tool](https://github.com/alleyinteractive/wp-to-psr-4/)
to migrate your tests to PSR-4.

If you wish to instead continue using PHPUnit 9, you will need to run the
following command to downgrade to PHPUnit 9/`nunomaduro/collision` 6:
following command to downgrade to PHPUnit 9/Collision 6:

`composer require --dev phpunit/phpunit:^9 nunomaduro/collision:^6`
- Adds database-specific collections with storage of the `found_rows` value.
Expand Down

0 comments on commit 01865d4

Please sign in to comment.