Skip to content

Commit

Permalink
Merge pull request #289 from kupferchen/deprecation-warnings-php-8.2-…
Browse files Browse the repository at this point in the history
…fixed

php 8.2 deprecation warnings fixed #288
  • Loading branch information
Laur0r authored Dec 22, 2023
2 parents 49895ef + e7cc9c4 commit 23e4863
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests/mod_ratingallocate_allocate_unrated_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,27 @@
*/
class mod_ratingallocate_allocate_unrated_test extends \advanced_testcase {

/** @var stdClass Course object. */
private stdClass $course;
/** @var stdClass Enrolled teacher. */
private stdClass $teacher;
/** @var stdClass Green group. */
private stdClass $green;
/** @var stdClass Blue group. */
private stdClass $blue;
/** @var stdClass Red group. */
private stdClass $red;
/** @var array Students in the green group. */
private array $studentsgreen = [];
/** @var array Students in the blue group. */
private array $studentsblue = [];
/** @var array Students in the red group. */
private array $studentsred = [];
/** @var array Students belonging to no group. */
private array $studentsnogroup = [];
/** @var object Rating allocate object. */
private object $ratingallocate;

protected function setUp(): void {
parent::setUp();
$this->resetAfterTest(true);
Expand Down

0 comments on commit 23e4863

Please sign in to comment.