learnweb / moodle-mod_ratingallocate

:pray: "Fair allocation" moodle activity
https://moodle.org/plugins/view/mod_ratingallocate
20 stars 29 forks source link

php 8.2 deprecation warnings fixed #288 #289

Closed kupferchen closed 11 months ago

kupferchen commented 11 months ago

In this pull request, I've made modifications to the mod_ratingallocate_allocate_unrated_test class to avoid deprecation warnings under PHP 8.2. Specifically, properties that were previously created dynamically have been assigned as class attributes to comply with PHP 8.2 standards.

Changes:

These changes improve the clarity of the code and prevent potential issues that could arise from the dynamic creation of properties in future PHP versions.