[FIX] PHPUnit: Migrate to version 10
Fix error: !4605 (comment 1808519425)
Related task: https://avan.tech/item93845.
By removing:
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
from phpunit.xml.dist also according to: https://phpconference.com/blog/phpunit-10-all-you-need-to-know-about-the-latest-version. will solve the issue.
Edited by Steven ngesera