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

Totara 16 - assertFileNotExists() is deprecated and will be removed in PHPUnit 10 #148

Closed keevan closed 2 years ago

keevan commented 2 years ago

https://github.com/catalyst/moodle-local_datacleaner/blob/f76c00a4077a8fc454cda630e6ce6d72289c0c87/cleaner/orphaned_sitedata/tests/unit/tempfiles_cleaner_test.php#L58

1) 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.

/var/www/site/server/lib/phpunit/classes/testcase.php:114
phpvfscomposer:///var/www/site/test/phpunit/vendor/phpunit/phpunit/phpunit:97