mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
81a5016ec7
In PHP 8.2 and later, setting a value to an undeclared class property is deprecated and emits a deprecation notice. So we need to add missing class properties that still need to be declared. At the test_transaction_with_events() I changed $this->_called into $called local var, since the $called is used inside the anonymous function I added the third param as a variable passed by reference so the last assert can get the newest value.