[TASK] Make tests PHPUnit v9 compatible
This change modifies "->expectExceptionMessageRegExp" which is not available anymore in PHPunit v9. In addition, expectException(Warning::class) is deprecated in PHPUnit v9, which is modified as well, to make Core a small step towards PHPUnit v10 compat. Resolves: #90787 Releases: master, 9.5 Change-Id: Ie8aedc3cf95b5fac84791cb2d7cedba642d481c7 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63797 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org>
parent
93baa919
Please register or sign in to comment