Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump livewire/livewire from 3.4.9 to 3.5.9 in the composer group #273

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ a1713c2f67dc8fcb83b8a54013b74859ff93f076
73d520fe1fba26c16cfe3d636d4ab75e7a12c2d2
3c6278cc6eb48662e01a082f3e721c20cd4ecdde
016a0c75837e666dcc6d04ccbf109ab47618f3dc
bb3375f4a0ed391911a2f39f4d9ea78217e2c3c5
2 changes: 1 addition & 1 deletion app/Console/Commands/CloudflarePurgeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down
2 changes: 1 addition & 1 deletion app/Helpers/HelperFunctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
230 changes: 116 additions & 114 deletions composer.lock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
52 changes: 26 additions & 26 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);