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:
Adding explicit attribute declarations for all properties that were dynamically generated before.
Ensuring that the class remains compatible with PHP 8.2 without compromising functionality.
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.
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:
Adding explicit attribute declarations for all properties that were dynamically generated before.
Ensuring that the class remains compatible with PHP 8.2 without compromising functionality.
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.