mirror of
https://github.com/predis/predis.git
synced 2026-08-25 04:29:36 +00:00
b1ea4374d4
Basically assertMatchesRegularExpression() replaces assertRegExp() which has been deprecated since PHPUnit 9.1 and will be removed in PHPUnit 10, unfortunately we still depend on PHPUnit 8.4 to support PHP 7.2 and this version does not have assertMatchesRegularExpression() so we implemented it in our base testcase class with a fallback to the old assertRegExp() when tests are executed on older versions of PHPUnit.