Skip to content

Commit

Permalink
run duster
Browse files Browse the repository at this point in the history
  • Loading branch information
gwleuverink committed Apr 12, 2024
1 parent e1b1ce0 commit 44bf7da
Show file tree
Hide file tree
Showing 29 changed files with 168 additions and 148 deletions.
4 changes: 2 additions & 2 deletions app/Events/MessageReceived.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

use App\Models\Message;
use Illuminate\Broadcasting\Channel;
use Illuminate\Queue\SerializesModels;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Contracts\Broadcasting\ShouldBroadcastNow;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class MessageReceived implements ShouldBroadcastNow
{
Expand Down
8 changes: 4 additions & 4 deletions app/Livewire/Concerns/SmtpSupervisor.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace App\Livewire\Concerns;

use App\Events\MessageReceived;
use App\Models\Message;
use App\Services\Smtp\Server;
use Exception;
use App\Models\Message;
use Livewire\Attributes\On;
use App\Services\Smtp\Server;
use App\Events\MessageReceived;
use Livewire\Attributes\Renderless;

trait SmtpSupervisor
Expand Down Expand Up @@ -42,7 +42,7 @@ function () {
* This needs to be called via a channel so we can pick
* up on events raised from a separate process.
*/
#[On('native:'.MessageReceived::class)]
#[On('native:' . MessageReceived::class)]
public function messageReceived()
{
// TODO: Implement NativePHP events with Echo
Expand Down
2 changes: 1 addition & 1 deletion app/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace App\Models;

// use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Notifications\Notifiable;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;

class User extends Authenticatable
{
Expand Down
2 changes: 1 addition & 1 deletion app/Providers/NativeAppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace App\Providers;

use Native\Laravel\Contracts\ProvidesPhpIni;
use Native\Laravel\Facades\Window;
use Native\Laravel\Contracts\ProvidesPhpIni;

class NativeAppServiceProvider implements ProvidesPhpIni
{
Expand Down
6 changes: 3 additions & 3 deletions bootstrap/app.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Application;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Foundation\Configuration\Middleware;

return Application::configure(basePath: dirname(__DIR__))

->withRouting(
web: __DIR__.'/../routes/web.php',
commands: __DIR__.'/../routes/console.php',
web: __DIR__ . '/../routes/web.php',
commands: __DIR__ . '/../routes/console.php',
)

->withSchedule(function (Schedule $schedule) {
Expand Down
2 changes: 1 addition & 1 deletion config/cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@
|
*/

'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache_'),
'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_') . '_cache_'),

];
2 changes: 1 addition & 1 deletion config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@

'options' => [
'cluster' => env('REDIS_CLUSTER', 'redis'),
'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'),
'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_') . '_database_'),
],

'default' => [
Expand Down
2 changes: 1 addition & 1 deletion config/filesystems.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL').'/storage',
'url' => env('APP_URL') . '/storage',
'visibility' => 'public',
'throw' => false,
],
Expand Down
2 changes: 1 addition & 1 deletion config/logging.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
'handler_with' => [
'host' => env('PAPERTRAIL_URL'),
'port' => env('PAPERTRAIL_PORT'),
'connectionString' => 'tls://'.env('PAPERTRAIL_URL').':'.env('PAPERTRAIL_PORT'),
'connectionString' => 'tls://' . env('PAPERTRAIL_URL') . ':' . env('PAPERTRAIL_PORT'),
],
'processors' => [PsrLogMessageProcessor::class],
],
Expand Down
2 changes: 1 addition & 1 deletion config/session.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@

'cookie' => env(
'SESSION_COOKIE',
Str::slug(env('APP_NAME', 'laravel'), '_').'_session'
Str::slug(env('APP_NAME', 'laravel'), '_') . '_session'
),

/*
Expand Down
12 changes: 6 additions & 6 deletions config/workspace-integrations.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php

use Gedachtegoed\Workspace\Integrations\Pint\Pint;
use Gedachtegoed\Workspace\Integrations\TLint\TLint;
use Gedachtegoed\Workspace\Integrations\Composer\Aliases;
use Gedachtegoed\Workspace\Integrations\EditorDefaults\EditorDefaults;
use Gedachtegoed\Workspace\Integrations\IDEHelper\IDEHelper;
use Gedachtegoed\Workspace\Integrations\Larastan\Larastan;
use Gedachtegoed\Workspace\Integrations\PHPCodeSniffer\PHPCodeSniffer;
use Gedachtegoed\Workspace\Integrations\IDEHelper\IDEHelper;
use Gedachtegoed\Workspace\Integrations\Workflows\Workflows;
use Gedachtegoed\Workspace\Integrations\PHPCSFixer\PHPCSFixer;
use Gedachtegoed\Workspace\Integrations\Pint\Pint;
use Gedachtegoed\Workspace\Integrations\PrettierBlade\PrettierBlade;
use Gedachtegoed\Workspace\Integrations\TLint\TLint;
use Gedachtegoed\Workspace\Integrations\Workflows\Workflows;
use Gedachtegoed\Workspace\Integrations\EditorDefaults\EditorDefaults;
use Gedachtegoed\Workspace\Integrations\PHPCodeSniffer\PHPCodeSniffer;

return [
EditorDefaults::class,
Expand Down
4 changes: 2 additions & 2 deletions database/factories/UserFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Str;
use Illuminate\Support\Facades\Hash;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\User>
Expand Down
10 changes: 2 additions & 8 deletions database/migrations/0001_01_01_000000_create_users_table.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('users', function (Blueprint $table) {
Expand Down Expand Up @@ -37,9 +34,6 @@ public function up(): void
});
}

/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('users');
Expand Down
10 changes: 2 additions & 8 deletions database/migrations/0001_01_01_000001_create_cache_table.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('cache', function (Blueprint $table) {
Expand All @@ -24,9 +21,6 @@ public function up(): void
});
}

/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('cache');
Expand Down
10 changes: 2 additions & 8 deletions database/migrations/0001_01_01_000002_create_jobs_table.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('jobs', function (Blueprint $table) {
Expand Down Expand Up @@ -45,9 +42,6 @@ public function up(): void
});
}

/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('jobs');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

return new class extends Migration
{
Expand Down
6 changes: 3 additions & 3 deletions public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
define('LARAVEL_START', microtime(true));

// Determine if the application is in maintenance mode...
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
if (file_exists($maintenance = __DIR__ . '/../storage/framework/maintenance.php')) {
require $maintenance;
}

// Register the Composer autoloader...
require __DIR__.'/../vendor/autoload.php';
require __DIR__ . '/../vendor/autoload.php';

// Bootstrap Laravel and handle the request...
(require_once __DIR__.'/../bootstrap/app.php')
(require_once __DIR__ . '/../bootstrap/app.php')
->handleRequest(Request::capture());
26 changes: 16 additions & 10 deletions resources/views/components/layouts/app.blade.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>{{ $title ?? 'Page Title' }}</title>
<head>
<meta charset="utf-8">
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
>

@vite(['resources/css/app.css', 'resources/js/app.js'])
<title>{{ $title ?? 'Page Title' }}</title>

</head>
<body>
{{ $slot }}
</body>
@vite(['resources/css/app.css', 'resources/js/app.js'])

</head>

<body>
{{ $slot }}
</body>

@livewireScriptConfig

@livewireScriptConfig
</html>
Loading

0 comments on commit 44bf7da

Please sign in to comment.