Skip to content

Commit

Permalink
Merge pull request #27 from alkrauss48/upgrade-dependencies
Browse files Browse the repository at this point in the history
Upgrade dependencies
  • Loading branch information
alkrauss48 authored Aug 22, 2024
2 parents 3fa0d4b + fe7ed82 commit 5faf622
Show file tree
Hide file tree
Showing 29 changed files with 4,292 additions and 3,688 deletions.
6 changes: 3 additions & 3 deletions app/Enums/Traits/EnumToArray.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ public static function values(): array
/**
* The array of values for the enum.
*
* @return array<mixed, string>
* @return array<int|string, string>
*/
public static function array(): array
{
return collect(self::cases())
->reduce(function ($carry, $row) {
$carry[$row->value] = $row->label();
->reduce(function ($carry, $row): array {
$carry[$row->value] = strval($row->label());

return $carry;
}, []);
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Middleware/HandleInertiaRequests.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Illuminate\Http\Request;
use Inertia\Middleware;
use Tightenco\Ziggy\Ziggy;
use Tighten\Ziggy\Ziggy;

class HandleInertiaRequests extends Middleware
{
Expand Down
3 changes: 1 addition & 2 deletions app/Jobs/GenerateThumbnail.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ class GenerateThumbnail implements ShouldQueue
public function __construct(
public Presentation $presentation,
public User $user,
) {
}
) {}

/**
* Execute the job.
Expand Down
2 changes: 2 additions & 0 deletions app/Models/AggregateView.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace App\Models;

use App\Enums\PresentationFilter;
use Database\Factories\AggregateViewFactory;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Casts\Attribute;
use Illuminate\Database\Eloquent\Factories\HasFactory;
Expand All @@ -11,6 +12,7 @@

class AggregateView extends Model
{
/** @use HasFactory<AggregateViewFactory> */
use HasFactory;

const UPDATED_AT = null;
Expand Down
2 changes: 2 additions & 0 deletions app/Models/DailyView.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
namespace App\Models;

use App\Enums\PresentationFilter;
use Database\Factories\DailyViewFactory;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

class DailyView extends Model
{
/** @use HasFactory<DailyViewFactory> */
use HasFactory;

const UPDATED_AT = null;
Expand Down
3 changes: 3 additions & 0 deletions app/Models/ImageUpload.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace App\Models;

use Database\Factories\ImageUploadFactory;
use Illuminate\Database\Eloquent\Casts\Attribute;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
Expand All @@ -11,7 +12,9 @@

class ImageUpload extends Model implements HasMedia
{
/** @use HasFactory<ImageUploadFactory> */
use HasFactory;

use InteractsWithMedia;

/**
Expand Down
3 changes: 3 additions & 0 deletions app/Models/Presentation.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace App\Models;

use Database\Factories\PresentationFactory;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Casts\Attribute;
use Illuminate\Database\Eloquent\Factories\HasFactory;
Expand All @@ -16,7 +17,9 @@

class Presentation extends Model implements HasMedia
{
/** @use HasFactory<PresentationFactory> */
use HasFactory;

use HasSlug;
use InteractsWithMedia;
use SoftDeletes;
Expand Down
8 changes: 7 additions & 1 deletion app/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace App\Models;

use Database\Factories\UserFactory;
use Filament\Models\Contracts\FilamentUser;
use Filament\Panel;
use Illuminate\Auth\MustVerifyEmail;
Expand All @@ -18,8 +19,13 @@

class User extends Authenticatable implements FilamentUser, VerifyEmailContract
{
use HasApiTokens, HasFactory, Notifiable;
use HasApiTokens;

/** @use HasFactory<UserFactory> */
use HasFactory;

use MustVerifyEmail;
use Notifiable;
use SoftDeletes;
use TwoFactorAuthenticatable;

Expand Down
38 changes: 19 additions & 19 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,34 @@
],
"license": "MIT",
"require": {
"php": "^8.1",
"filament/filament": "^3.2",
"filament/spatie-laravel-media-library-plugin": "^3.2",
"flowframe/laravel-trend": "^0.2.0",
"guzzlehttp/guzzle": "^7.2",
"inertiajs/inertia-laravel": "^0.6.8",
"jeffgreco13/filament-breezy": "^2.2",
"laravel/framework": "^10.10",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.8",
"php": "^8.2",
"filament/filament": "^3.0",
"filament/spatie-laravel-media-library-plugin": "^3.0",
"flowframe/laravel-trend": "^0",
"guzzlehttp/guzzle": "^7.0",
"inertiajs/inertia-laravel": "^1.0",
"jeffgreco13/filament-breezy": "^2.0",
"laravel/framework": "^11.0",
"laravel/sanctum": "^4.0",
"laravel/tinker": "^2.9",
"league/flysystem-aws-s3-v3": "^3.0",
"spatie/browsershot": "^4.0",
"spatie/laravel-medialibrary": "^11.4",
"spatie/laravel-sluggable": "^3.5",
"tightenco/ziggy": "^1.0",
"spatie/laravel-medialibrary": "^11.0",
"spatie/laravel-sluggable": "^3.0",
"tightenco/ziggy": "^2.0",
"webbingbrasil/filament-copyactions": "^3.0"
},
"require-dev": {
"fakerphp/faker": "^1.9.1",
"fakerphp/faker": "^1.0",
"larastan/larastan": "^2.0",
"laravel/breeze": "^1.25",
"laravel/breeze": "^2.0",
"laravel/pint": "^1.0",
"laravel/sail": "^1.29",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^7.0",
"laravel/sail": "^1.0",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^8.0",
"pestphp/pest": "^2.0",
"pestphp/pest-plugin-laravel": "^2.0",
"pestphp/pest-plugin-livewire": "^2.1",
"pestphp/pest-plugin-livewire": "^2.0",
"spatie/laravel-ignition": "^2.0"
},
"autoload": {
Expand Down
Loading

0 comments on commit 5faf622

Please sign in to comment.