From 6a43677fad16ce7138690c3a2faafde0790d2e8f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 03:47:07 +0000 Subject: [PATCH 1/3] build(deps): bump league/flysystem-aws-s3-v3 from 3.28.0 to 3.29.0 Bumps [league/flysystem-aws-s3-v3](https://github.com/thephpleague/flysystem-aws-s3-v3) from 3.28.0 to 3.29.0. - [Commits](https://github.com/thephpleague/flysystem-aws-s3-v3/compare/3.28.0...3.29.0) --- updated-dependencies: - dependency-name: league/flysystem-aws-s3-v3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- composer.lock | 91 ++++++++++++++++++++++++++------------------------- 1 file changed, 47 insertions(+), 44 deletions(-) diff --git a/composer.lock b/composer.lock index 391ba31..3caf4c4 100644 --- a/composer.lock +++ b/composer.lock @@ -64,16 +64,16 @@ }, { "name": "aws/aws-crt-php", - "version": "v1.2.5", + "version": "v1.2.6", "source": { "type": "git", "url": "https://github.com/awslabs/aws-crt-php.git", - "reference": "0ea1f04ec5aa9f049f97e012d1ed63b76834a31b" + "reference": "a63485b65b6b3367039306496d49737cf1995408" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/awslabs/aws-crt-php/zipball/0ea1f04ec5aa9f049f97e012d1ed63b76834a31b", - "reference": "0ea1f04ec5aa9f049f97e012d1ed63b76834a31b", + "url": "https://api.github.com/repos/awslabs/aws-crt-php/zipball/a63485b65b6b3367039306496d49737cf1995408", + "reference": "a63485b65b6b3367039306496d49737cf1995408", "shasum": "" }, "require": { @@ -112,22 +112,22 @@ ], "support": { "issues": "https://github.com/awslabs/aws-crt-php/issues", - "source": "https://github.com/awslabs/aws-crt-php/tree/v1.2.5" + "source": "https://github.com/awslabs/aws-crt-php/tree/v1.2.6" }, - "time": "2024-04-19T21:30:56+00:00" + "time": "2024-06-13T17:21:28+00:00" }, { "name": "aws/aws-sdk-php", - "version": "3.308.3", + "version": "3.322.7", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "7fa0625056fa1fcf6732f89ba37b3f630d78de59" + "reference": "ea3563a7f10fa562796f712fa306c1dca41a45d7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/7fa0625056fa1fcf6732f89ba37b3f630d78de59", - "reference": "7fa0625056fa1fcf6732f89ba37b3f630d78de59", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/ea3563a7f10fa562796f712fa306c1dca41a45d7", + "reference": "ea3563a7f10fa562796f712fa306c1dca41a45d7", "shasum": "" }, "require": { @@ -180,7 +180,10 @@ ], "psr-4": { "Aws\\": "src/" - } + }, + "exclude-from-classmap": [ + "src/data/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -207,9 +210,9 @@ "support": { "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.308.3" + "source": "https://github.com/aws/aws-sdk-php/tree/3.322.7" }, - "time": "2024-05-24T18:29:40+00:00" + "time": "2024-09-27T18:34:08+00:00" }, { "name": "blade-ui-kit/blade-icons", @@ -2655,16 +2658,16 @@ }, { "name": "league/flysystem", - "version": "3.28.0", + "version": "3.29.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "e611adab2b1ae2e3072fa72d62c62f52c2bf1f0c" + "reference": "0adc0d9a51852e170e0028a60bd271726626d3f0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/e611adab2b1ae2e3072fa72d62c62f52c2bf1f0c", - "reference": "e611adab2b1ae2e3072fa72d62c62f52c2bf1f0c", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/0adc0d9a51852e170e0028a60bd271726626d3f0", + "reference": "0adc0d9a51852e170e0028a60bd271726626d3f0", "shasum": "" }, "require": { @@ -2732,22 +2735,22 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/3.28.0" + "source": "https://github.com/thephpleague/flysystem/tree/3.29.0" }, - "time": "2024-05-22T10:09:12+00:00" + "time": "2024-09-29T11:59:11+00:00" }, { "name": "league/flysystem-aws-s3-v3", - "version": "3.28.0", + "version": "3.29.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem-aws-s3-v3.git", - "reference": "22071ef1604bc776f5ff2468ac27a752514665c8" + "reference": "c6ff6d4606e48249b63f269eba7fabdb584e76a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/zipball/22071ef1604bc776f5ff2468ac27a752514665c8", - "reference": "22071ef1604bc776f5ff2468ac27a752514665c8", + "url": "https://api.github.com/repos/thephpleague/flysystem-aws-s3-v3/zipball/c6ff6d4606e48249b63f269eba7fabdb584e76a9", + "reference": "c6ff6d4606e48249b63f269eba7fabdb584e76a9", "shasum": "" }, "require": { @@ -2787,22 +2790,22 @@ "storage" ], "support": { - "source": "https://github.com/thephpleague/flysystem-aws-s3-v3/tree/3.28.0" + "source": "https://github.com/thephpleague/flysystem-aws-s3-v3/tree/3.29.0" }, - "time": "2024-05-06T20:05:52+00:00" + "time": "2024-08-17T13:10:48+00:00" }, { "name": "league/flysystem-local", - "version": "3.28.0", + "version": "3.29.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem-local.git", - "reference": "13f22ea8be526ea58c2ddff9e158ef7c296e4f40" + "reference": "e0e8d52ce4b2ed154148453d321e97c8e931bd27" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/13f22ea8be526ea58c2ddff9e158ef7c296e4f40", - "reference": "13f22ea8be526ea58c2ddff9e158ef7c296e4f40", + "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/e0e8d52ce4b2ed154148453d321e97c8e931bd27", + "reference": "e0e8d52ce4b2ed154148453d321e97c8e931bd27", "shasum": "" }, "require": { @@ -2836,22 +2839,22 @@ "local" ], "support": { - "source": "https://github.com/thephpleague/flysystem-local/tree/3.28.0" + "source": "https://github.com/thephpleague/flysystem-local/tree/3.29.0" }, - "time": "2024-05-06T20:05:52+00:00" + "time": "2024-08-09T21:24:39+00:00" }, { "name": "league/mime-type-detection", - "version": "1.15.0", + "version": "1.16.0", "source": { "type": "git", "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301" + "reference": "2d6702ff215bf922936ccc1ad31007edc76451b9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301", - "reference": "ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/2d6702ff215bf922936ccc1ad31007edc76451b9", + "reference": "2d6702ff215bf922936ccc1ad31007edc76451b9", "shasum": "" }, "require": { @@ -2882,7 +2885,7 @@ "description": "Mime-type detection for Flysystem", "support": { "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.15.0" + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.16.0" }, "funding": [ { @@ -2894,7 +2897,7 @@ "type": "tidelift" } ], - "time": "2024-01-28T23:22:08+00:00" + "time": "2024-09-21T08:32:55+00:00" }, { "name": "livewire/livewire", @@ -3211,16 +3214,16 @@ }, { "name": "mtdowling/jmespath.php", - "version": "2.7.0", + "version": "2.8.0", "source": { "type": "git", "url": "https://github.com/jmespath/jmespath.php.git", - "reference": "bbb69a935c2cbb0c03d7f481a238027430f6440b" + "reference": "a2a865e05d5f420b50cc2f85bb78d565db12a6bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/jmespath/jmespath.php/zipball/bbb69a935c2cbb0c03d7f481a238027430f6440b", - "reference": "bbb69a935c2cbb0c03d7f481a238027430f6440b", + "url": "https://api.github.com/repos/jmespath/jmespath.php/zipball/a2a865e05d5f420b50cc2f85bb78d565db12a6bc", + "reference": "a2a865e05d5f420b50cc2f85bb78d565db12a6bc", "shasum": "" }, "require": { @@ -3237,7 +3240,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.7-dev" + "dev-master": "2.8-dev" } }, "autoload": { @@ -3271,9 +3274,9 @@ ], "support": { "issues": "https://github.com/jmespath/jmespath.php/issues", - "source": "https://github.com/jmespath/jmespath.php/tree/2.7.0" + "source": "https://github.com/jmespath/jmespath.php/tree/2.8.0" }, - "time": "2023-08-25T10:54:48+00:00" + "time": "2024-09-04T18:46:31+00:00" }, { "name": "nesbot/carbon", From 11ca32b6526383a7648a86c44d4d8c38eee3cdcd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Mon, 30 Sep 2024 03:47:33 +0000 Subject: [PATCH 2/3] Dusting --- .../Commands/CloudflarePurgeCommand.php | 2 +- app/Helpers/HelperFunctions.php | 2 +- .../2014_10_12_000000_create_users_table.php | 2 +- ...000_create_password_reset_tokens_table.php | 2 +- ..._08_19_000000_create_failed_jobs_table.php | 2 +- ...01_create_personal_access_tokens_table.php | 2 +- .../2023_06_07_000001_create_pulse_tables.php | 2 +- ...23_10_25_180120_create_champions_table.php | 2 +- ..._26_175822_create_champion_skins_table.php | 2 +- ...10_27_080159_create_skin_chromas_table.php | 2 +- ...23_10_31_081816_fix_typo_championskins.php | 2 +- .../2023_10_31_084006_skin_price_type_fix.php | 2 +- .../2023_10_31_085408_make_lore_nullable.php | 2 +- ...1_01_080800_skin_chromas_add_chroma_id.php | 2 +- ..._01_134531_create_champion_roles_table.php | 2 +- ...023_11_01_135724_add_slug_to_champions.php | 2 +- ...1_01_140156_add_slug_to_champion_skins.php | 2 +- ..._11_01_140243_add_slug_to_skin_chromas.php | 2 +- ..._15_105425_create_summoner_icons_table.php | 2 +- ...26_175055_create_summoner_emotes_table.php | 2 +- .../2023_12_01_211507_add_admin_to_users.php | 2 +- ...62055_create_contact_submissions_table.php | 2 +- ...024_03_18_170123_create_sessions_table.php | 2 +- routes/web.php | 52 +++++++++---------- 24 files changed, 49 insertions(+), 49 deletions(-) diff --git a/app/Console/Commands/CloudflarePurgeCommand.php b/app/Console/Commands/CloudflarePurgeCommand.php index 4f5646d..efbb919 100644 --- a/app/Console/Commands/CloudflarePurgeCommand.php +++ b/app/Console/Commands/CloudflarePurgeCommand.php @@ -19,7 +19,7 @@ class CloudflarePurgeCommand extends Command public function handle(): void { if (App::environment('production')) { - $client = new Client(); + $client = new Client; $cf_zone_id = config('cloudflare.cf_zone_id'); $cf_auth_bearer = config('cloudflare.cf_auth_bearer'); diff --git a/app/Helpers/HelperFunctions.php b/app/Helpers/HelperFunctions.php index 4a2ed92..1a02536 100644 --- a/app/Helpers/HelperFunctions.php +++ b/app/Helpers/HelperFunctions.php @@ -20,7 +20,7 @@ function getRoleIcon($roleName): string function getAverageColorFromImageUrl($imageUrl): string { - $imgManager = new ImageManager(new Driver()); + $imgManager = new ImageManager(new Driver); try { $img = $imgManager->read(file_get_contents($imageUrl)); diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php index 6fa9684..750bc49 100644 --- a/database/migrations/2014_10_12_000000_create_users_table.php +++ b/database/migrations/2014_10_12_000000_create_users_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class() extends Migration +return new class extends Migration { public function up(): void { diff --git a/database/migrations/2014_10_12_100000_create_password_reset_tokens_table.php b/database/migrations/2014_10_12_100000_create_password_reset_tokens_table.php index 8647a42..3fa9275 100644 --- a/database/migrations/2014_10_12_100000_create_password_reset_tokens_table.php +++ b/database/migrations/2014_10_12_100000_create_password_reset_tokens_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class() extends Migration +return new class extends Migration { public function up(): void { diff --git a/database/migrations/2019_08_19_000000_create_failed_jobs_table.php b/database/migrations/2019_08_19_000000_create_failed_jobs_table.php index 95eb857..85264d8 100644 --- a/database/migrations/2019_08_19_000000_create_failed_jobs_table.php +++ b/database/migrations/2019_08_19_000000_create_failed_jobs_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class() extends Migration +return new class extends Migration { public function up(): void { diff --git a/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php b/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php index 3333f7e..b30c323 100644 --- a/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php +++ b/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class() extends Migration +return new class extends Migration { public function up(): void { diff --git a/database/migrations/2023_06_07_000001_create_pulse_tables.php b/database/migrations/2023_06_07_000001_create_pulse_tables.php index c28e97f..29fc6bf 100644 --- a/database/migrations/2023_06_07_000001_create_pulse_tables.php +++ b/database/migrations/2023_06_07_000001_create_pulse_tables.php @@ -4,7 +4,7 @@ use Illuminate\Support\Facades\Schema; use Laravel\Pulse\Support\PulseMigration; -return new class() extends PulseMigration +return new class extends PulseMigration { public function up(): void { diff --git a/database/migrations/2023_10_25_180120_create_champions_table.php b/database/migrations/2023_10_25_180120_create_champions_table.php index e7eb305..7d69a41 100644 --- a/database/migrations/2023_10_25_180120_create_champions_table.php +++ b/database/migrations/2023_10_25_180120_create_champions_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class() extends Migration +return new class extends Migration { public function up(): void { diff --git a/database/migrations/2023_10_26_175822_create_champion_skins_table.php b/database/migrations/2023_10_26_175822_create_champion_skins_table.php index 27739e3..29822a7 100644 --- a/database/migrations/2023_10_26_175822_create_champion_skins_table.php +++ b/database/migrations/2023_10_26_175822_create_champion_skins_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class() extends Migration +return new class extends Migration { public function up(): void { diff --git a/database/migrations/2023_10_27_080159_create_skin_chromas_table.php b/database/migrations/2023_10_27_080159_create_skin_chromas_table.php index c6210e5..cf224fc 100644 --- a/database/migrations/2023_10_27_080159_create_skin_chromas_table.php +++ b/database/migrations/2023_10_27_080159_create_skin_chromas_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class() extends Migration +return new class extends Migration { public function up(): void { diff --git a/database/migrations/2023_10_31_081816_fix_typo_championskins.php b/database/migrations/2023_10_31_081816_fix_typo_championskins.php index 1ffdcd8..4f4e541 100644 --- a/database/migrations/2023_10_31_081816_fix_typo_championskins.php +++ b/database/migrations/2023_10_31_081816_fix_typo_championskins.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class() extends Migration +return new class extends Migration { public function up(): void { diff --git a/database/migrations/2023_10_31_084006_skin_price_type_fix.php b/database/migrations/2023_10_31_084006_skin_price_type_fix.php index 24a00d5..f8ea454 100644 --- a/database/migrations/2023_10_31_084006_skin_price_type_fix.php +++ b/database/migrations/2023_10_31_084006_skin_price_type_fix.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class() extends Migration +return new class extends Migration { public function up(): void { diff --git a/database/migrations/2023_10_31_085408_make_lore_nullable.php b/database/migrations/2023_10_31_085408_make_lore_nullable.php index 7de5a2b..1fd1aae 100644 --- a/database/migrations/2023_10_31_085408_make_lore_nullable.php +++ b/database/migrations/2023_10_31_085408_make_lore_nullable.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class() extends Migration +return new class extends Migration { public function up(): void { diff --git a/database/migrations/2023_11_01_080800_skin_chromas_add_chroma_id.php b/database/migrations/2023_11_01_080800_skin_chromas_add_chroma_id.php index 44f8fa2..40e37d2 100644 --- a/database/migrations/2023_11_01_080800_skin_chromas_add_chroma_id.php +++ b/database/migrations/2023_11_01_080800_skin_chromas_add_chroma_id.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class() extends Migration +return new class extends Migration { public function up(): void { diff --git a/database/migrations/2023_11_01_134531_create_champion_roles_table.php b/database/migrations/2023_11_01_134531_create_champion_roles_table.php index 83d58fe..cf805e2 100644 --- a/database/migrations/2023_11_01_134531_create_champion_roles_table.php +++ b/database/migrations/2023_11_01_134531_create_champion_roles_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class() extends Migration +return new class extends Migration { public function up(): void { diff --git a/database/migrations/2023_11_01_135724_add_slug_to_champions.php b/database/migrations/2023_11_01_135724_add_slug_to_champions.php index 56aaea8..ce13853 100644 --- a/database/migrations/2023_11_01_135724_add_slug_to_champions.php +++ b/database/migrations/2023_11_01_135724_add_slug_to_champions.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class() extends Migration +return new class extends Migration { public function up(): void { diff --git a/database/migrations/2023_11_01_140156_add_slug_to_champion_skins.php b/database/migrations/2023_11_01_140156_add_slug_to_champion_skins.php index ad8edad..1f3b481 100644 --- a/database/migrations/2023_11_01_140156_add_slug_to_champion_skins.php +++ b/database/migrations/2023_11_01_140156_add_slug_to_champion_skins.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class() extends Migration +return new class extends Migration { public function up(): void { diff --git a/database/migrations/2023_11_01_140243_add_slug_to_skin_chromas.php b/database/migrations/2023_11_01_140243_add_slug_to_skin_chromas.php index 2fb7bbc..ebe89c6 100644 --- a/database/migrations/2023_11_01_140243_add_slug_to_skin_chromas.php +++ b/database/migrations/2023_11_01_140243_add_slug_to_skin_chromas.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class() extends Migration +return new class extends Migration { public function up(): void { diff --git a/database/migrations/2023_11_15_105425_create_summoner_icons_table.php b/database/migrations/2023_11_15_105425_create_summoner_icons_table.php index 44beae4..f206f35 100644 --- a/database/migrations/2023_11_15_105425_create_summoner_icons_table.php +++ b/database/migrations/2023_11_15_105425_create_summoner_icons_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class() extends Migration +return new class extends Migration { public function up(): void { diff --git a/database/migrations/2023_11_26_175055_create_summoner_emotes_table.php b/database/migrations/2023_11_26_175055_create_summoner_emotes_table.php index 85e40e2..95eacb6 100644 --- a/database/migrations/2023_11_26_175055_create_summoner_emotes_table.php +++ b/database/migrations/2023_11_26_175055_create_summoner_emotes_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class() extends Migration +return new class extends Migration { public function up(): void { diff --git a/database/migrations/2023_12_01_211507_add_admin_to_users.php b/database/migrations/2023_12_01_211507_add_admin_to_users.php index 3b57e1e..08458a0 100644 --- a/database/migrations/2023_12_01_211507_add_admin_to_users.php +++ b/database/migrations/2023_12_01_211507_add_admin_to_users.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class() extends Migration +return new class extends Migration { public function up(): void { diff --git a/database/migrations/2024_02_24_162055_create_contact_submissions_table.php b/database/migrations/2024_02_24_162055_create_contact_submissions_table.php index e0c57ac..460ef13 100644 --- a/database/migrations/2024_02_24_162055_create_contact_submissions_table.php +++ b/database/migrations/2024_02_24_162055_create_contact_submissions_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class() extends Migration +return new class extends Migration { public function up(): void { diff --git a/database/migrations/2024_03_18_170123_create_sessions_table.php b/database/migrations/2024_03_18_170123_create_sessions_table.php index 744f195..7a84e3d 100644 --- a/database/migrations/2024_03_18_170123_create_sessions_table.php +++ b/database/migrations/2024_03_18_170123_create_sessions_table.php @@ -4,7 +4,7 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -return new class() extends Migration +return new class extends Migration { public function up(): void { diff --git a/routes/web.php b/routes/web.php index a6108fb..53cd3f7 100644 --- a/routes/web.php +++ b/routes/web.php @@ -34,64 +34,64 @@ | */ -Route::get('/', static fn () => (new HomeController())->index())->name('home'); +Route::get('/', static fn () => (new HomeController)->index())->name('home'); -Route::get('donate', static fn () => (new HomeController())->donate())->name('donate'); +Route::get('donate', static fn () => (new HomeController)->donate())->name('donate'); -Route::get('roadmap', static fn () => (new HomeController())->roadmap())->name('roadmap'); +Route::get('roadmap', static fn () => (new HomeController)->roadmap())->name('roadmap'); // Champions -Route::get('champions', static fn () => (new ChampionController())->index())->name('champions.index'); -Route::get('champion/{champion}', static fn (Champion $champion) => (new ChampionController())->show($champion))->name('champions.show'); +Route::get('champions', static fn () => (new ChampionController)->index())->name('champions.index'); +Route::get('champion/{champion}', static fn (Champion $champion) => (new ChampionController)->show($champion))->name('champions.show'); // Skins -Route::get('skins', static fn (Request $request) => (new ChampionSkinController())->index($request))->name('skins.index'); -Route::get('skin/{championSkin}', static fn (ChampionSkin $championSkin) => (new ChampionSkinController())->show($championSkin))->name('skins.show'); +Route::get('skins', static fn (Request $request) => (new ChampionSkinController)->index($request))->name('skins.index'); +Route::get('skin/{championSkin}', static fn (ChampionSkin $championSkin) => (new ChampionSkinController)->show($championSkin))->name('skins.show'); // Icons -Route::get('icons', static fn () => (new SummonerIconController())->index())->name('assets.icons.index'); -Route::get('icon/{summonerIcon}', static fn (SummonerIcon $summonerIcon) => (new SummonerIconController())->show($summonerIcon))->name('assets.icons.show'); +Route::get('icons', static fn () => (new SummonerIconController)->index())->name('assets.icons.index'); +Route::get('icon/{summonerIcon}', static fn (SummonerIcon $summonerIcon) => (new SummonerIconController)->show($summonerIcon))->name('assets.icons.show'); // Emotes -Route::get('emotes', static fn () => (new SummonerEmoteController())->index())->name('assets.emotes.index'); +Route::get('emotes', static fn () => (new SummonerEmoteController)->index())->name('assets.emotes.index'); // Assets -Route::get('assets', static fn () => (new AssetsController())->index())->name('assets.index'); +Route::get('assets', static fn () => (new AssetsController)->index())->name('assets.index'); // Sales -Route::get('sale-rotation', static fn () => (new SaleController())->index())->name('sales.index'); +Route::get('sale-rotation', static fn () => (new SaleController)->index())->name('sales.index'); // About -Route::get('about', static fn () => (new AboutController())->index())->name('about.index'); +Route::get('about', static fn () => (new AboutController)->index())->name('about.index'); // About.FAQController -Route::get('about/faq/league-of-legends', static fn () => (new FAQController())->leagueoflegends())->name('about.faq.leagueoflegends'); +Route::get('about/faq/league-of-legends', static fn () => (new FAQController)->leagueoflegends())->name('about.faq.leagueoflegends'); -Route::get('about/faq/heimerdinger', static fn () => (new FAQController())->heimerdinger())->name('about.faq.heimerdinger'); +Route::get('about/faq/heimerdinger', static fn () => (new FAQController)->heimerdinger())->name('about.faq.heimerdinger'); // Posts -Route::get('posts', static fn () => (new PostsController())->index())->name('posts.index'); +Route::get('posts', static fn () => (new PostsController)->index())->name('posts.index'); -Route::get('post/{post}', static fn (Sheet $post) => (new PostsController())->show($post))->name('posts.show'); +Route::get('post/{post}', static fn (Sheet $post) => (new PostsController)->show($post))->name('posts.show'); // Contact -Route::get('contact', static fn () => (new ContactSubmissionController())->index())->name('contact.index'); +Route::get('contact', static fn () => (new ContactSubmissionController)->index())->name('contact.index'); Route::post('contact', function (ContactSubmissionRequest $request) { - return (new ContactSubmissionController())->store($request); + return (new ContactSubmissionController)->store($request); })->name('contact.store')->middleware(ProtectAgainstSpam::class); // Site Map -Route::get('resource/sitemap', static fn () => (new HTMLSitemapController())->index())->name('sitemap.index'); +Route::get('resource/sitemap', static fn () => (new HTMLSitemapController)->index())->name('sitemap.index'); // Pulse Route::get(config('app.login_route'), static fn () => redirect('/pulse'))->name('login')->middleware('auth.basic'); // Streamer Panel -Route::get('streamerpanel', static fn () => (new StreamerPanelController())->index())->name('streamerpanel.index')->middleware('auth.basic'); -Route::get('streamerpanel/add', static fn () => (new StreamerPanelController())->create())->name('streamerpanel.streamers.create')->middleware('auth.basic'); -Route::post('streamerpanel/add', static fn (Request $request) => (new StreamerPanelController())->store($request))->name('streamerpanel.store')->middleware('auth.basic'); -Route::get('streamerpanel/edit/{streamer}', static fn (Streamer $streamer) => (new StreamerPanelController())->edit($streamer))->name('streamerpanel.edit')->middleware('auth.basic'); -Route::post('streamerpanel/edit/{streamer}', static fn (Request $request, Streamer $streamer) => (new StreamerPanelController())->update($request, $streamer))->name('streamerpanel.update')->middleware('auth.basic'); -Route::delete('streamerpanel/delete/{streamer}', static fn (Streamer $streamer) => (new StreamerPanelController())->destroy($streamer))->name('streamerpanel.destroy')->middleware('auth.basic'); +Route::get('streamerpanel', static fn () => (new StreamerPanelController)->index())->name('streamerpanel.index')->middleware('auth.basic'); +Route::get('streamerpanel/add', static fn () => (new StreamerPanelController)->create())->name('streamerpanel.streamers.create')->middleware('auth.basic'); +Route::post('streamerpanel/add', static fn (Request $request) => (new StreamerPanelController)->store($request))->name('streamerpanel.store')->middleware('auth.basic'); +Route::get('streamerpanel/edit/{streamer}', static fn (Streamer $streamer) => (new StreamerPanelController)->edit($streamer))->name('streamerpanel.edit')->middleware('auth.basic'); +Route::post('streamerpanel/edit/{streamer}', static fn (Request $request, Streamer $streamer) => (new StreamerPanelController)->update($request, $streamer))->name('streamerpanel.update')->middleware('auth.basic'); +Route::delete('streamerpanel/delete/{streamer}', static fn (Streamer $streamer) => (new StreamerPanelController)->destroy($streamer))->name('streamerpanel.destroy')->middleware('auth.basic'); // Redirects for old URLs Route::redirect('support-me', 'donate', 301); From a52c6b11bbb291a87c7f50187f26fcdea57fe4cd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Mon, 30 Sep 2024 03:47:34 +0000 Subject: [PATCH 3/3] Ignore Dusting commit in git blame --- .git-blame-ignore-revs | 1 + 1 file changed, 1 insertion(+) diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index e8cd811..bbb18cc 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -6,3 +6,4 @@ a1713c2f67dc8fcb83b8a54013b74859ff93f076 73d520fe1fba26c16cfe3d636d4ab75e7a12c2d2 3c6278cc6eb48662e01a082f3e721c20cd4ecdde 016a0c75837e666dcc6d04ccbf109ab47618f3dc +11ca32b6526383a7648a86c44d4d8c38eee3cdcd