catalyst / moodle-local_datacleaner

Reduce, filter, and anonymize moodle data for non-prod environments
https://moodle.org/plugins/local_datacleaner
19 stars 16 forks source link

Fix assertRegExp() is deprecated and will be removed in PHPUnit 10 #136

Closed dmitriim closed 1 year ago

dmitriim commented 3 years ago

/var/www/html/lib/phpunit/classes/basic_testcase.php:64

7) cleaner_config_test::test_cleaner_config_getwhere assertRegExp() is deprecated and will be removed in PHPUnit 10. Refactor your code to use assertMatchesRegularExpression() instead.

/var/www/html/lib/phpunit/classes/advanced_testcase.php:80

8) cleaner_orphaned_sitedata\tests\unit\tempfiles_cleaner_test::test_it_removes_tempfiles assertFileNotExists() is deprecated and will be removed in PHPUnit 10. Refactor your code to use assertFileDoesNotExist() instead.

golenkovm commented 1 year ago

This seems to be fixed for both Totara and Moodle