In Moodle 4.4 I'm getting the following warnings in unit tests. Moodle 4.5 is expected to migrate to PHPUnit10 as part of MDL-80969
--
There were 2 warnings:
1) tool_dataflows\tool_dataflows_connector_curl_test::test_execute
assertObjectHasAttribute() is deprecated and will be removed in PHPUnit 10. Refactor your test to use assertObjectHasProperty() instead.
/var/www/moodle-44/lib/phpunit/classes/advanced_testcase.php:72
2) tool_dataflows\tool_dataflows_variables_test::test_variable_parsing_involving_indirect_self_recursion
Expecting E_ERROR and E_USER_ERROR is deprecated and will no longer be possible in PHPUnit 10.
/var/www/moodle-44/lib/phpunit/classes/advanced_testcase.php:72
In Moodle 4.4 I'm getting the following warnings in unit tests. Moodle 4.5 is expected to migrate to PHPUnit10 as part of MDL-80969