Skip to content

Commit 7aa63c3

Browse files
committed
Bump composer dependencies & deprecation
1 parent ca9aea1 commit 7aa63c3

File tree

3 files changed

+2230
-1770
lines changed

3 files changed

+2230
-1770
lines changed

app/Models/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ public function averageAllStudents()
260260
}
261261

262262
usort($allAverages, function ($a, $b) {
263-
return $a['student_avg'] < $b['student_avg'];
263+
return $b['student_avg'] <=> $a['student_avg'];
264264
});
265265

266266
foreach ($allAverages as $key => $data) {

composer.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,23 @@
3030
"license": "CC-BY-SA-4.0",
3131
"require": {
3232
"php": "^8.0",
33-
"guzzlehttp/guzzle": "^7.4",
34-
"laravel/framework": "^9.2",
35-
"laravel/jetstream": "^2.6",
36-
"laravel/sanctum": "^2.14",
37-
"laravel/tinker": "^2.7",
38-
"livewire/livewire": "^2.5",
33+
"guzzlehttp/guzzle": "^7.10",
34+
"laravel/framework": "^9.52",
35+
"laravel/jetstream": "^2.16",
36+
"laravel/sanctum": "^2.15",
37+
"laravel/tinker": "^2.10",
38+
"livewire/livewire": "^2.12",
3939
"maatwebsite/excel": "^3.1",
4040
"psr/simple-cache": "^1.0"
4141
},
4242
"require-dev": {
43-
"barryvdh/laravel-debugbar": "^3.6",
44-
"fakerphp/faker": "^1.9.1",
45-
"laravel/sail": "^1.0.1",
46-
"mockery/mockery": "^1.4.4",
47-
"nunomaduro/collision": "^6.1",
48-
"phpunit/phpunit": "^9.5.10",
49-
"spatie/laravel-ignition": "^1.0"
43+
"barryvdh/laravel-debugbar": "^3.16",
44+
"fakerphp/faker": "^1.24",
45+
"laravel/sail": "^1.45",
46+
"mockery/mockery": "^1.6",
47+
"nunomaduro/collision": "^6.4",
48+
"phpunit/phpunit": "^9.6",
49+
"spatie/laravel-ignition": "^1.7"
5050
},
5151
"autoload": {
5252
"psr-4": {

0 commit comments

Comments
 (0)