Upgrade Tiki tests to use PHPUnit 11.x
- Status
- Pending
- Subject
- Upgrade Tiki tests to use PHPUnit 11.x
- Category
- Feature request
- Feature
- Infrastructure
- Resolution status
- Needs discussion
- Submitted by
- Marc Laporte
- Lastmod by
- Marc Laporte
- Rating
- Description
Tiki 28.x requires PHP 8.1 so we are at PHPUnit 10: https://phpunit.de/supported-versions.html
We should move to PHP 8.2 or:
"Write your tests for PHPUnit 11.x and run them on PHPUnit 6.4 - 11.x
The polyfills have been setup to allow tests to be forward-compatible. What that means is, that your tests can use the assertions supported by the latest PHPUnit version, even when running on older PHPUnit versions.This puts the burden of upgrading to use the syntax of newer PHPUnit versions at the point when you want to start running your tests on a newer version. By doing so, dropping support for an older PHPUnit version becomes as straight-forward as removing it from the version constraint in your composer.json file."
- Solution
- Workaround
- Importance
- 2
- Easy to solve?
- 2
- Priority
- 4
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 8699
- Created
- Thursday 03 October, 2024 16:21:26 UTC
by Marc Laporte - LastModif
- Friday 07 November, 2025 20:00:27 UTC