moodle/availability/tests
Eloy Lafuente (stronk7) c989d6ec61 MDL-71036 phpunit: Renamed various regexp-related assertions
In PHPUnit 9.1, the following regexp-related assertions
have been deprecated and there are new alternatives for
all them:
    - assertRegExp()     -> assertMatchesRegularExpression()
    - assertNotRegExp()  -> assertDoesNotMatchRegularExpression()

This is about to, simply, move all cases to the new alternatives.

Source: https://github.com/sebastianbergmann/phpunit/blob/9.1.0/ChangeLog-9.1.md

Regexp to find all them:

    ag 'assertRegExp|assertNotRegExp' -li
2021-03-11 23:07:30 +01:00
..
behat MDL-59602 behat: make use of new course nav steps 2017-07-21 13:50:47 -07:00
fixtures MDL-67613 availability_completion: add previous activity condition 2020-05-06 10:56:47 +02:00
capability_checker_test.php
component_test.php MDL-51007 Availability: Unit test fails with extra plugins 2015-08-05 14:27:40 +01:00
info_test.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:05 +02:00
tree_test.php MDL-71036 phpunit: Renamed various regexp-related assertions 2021-03-11 23:07:30 +01:00