chore: code styling via pint

This commit is contained in:
idevakk
2025-11-14 01:51:35 -08:00
parent 3892c48ef2
commit 90ab79b3a2
121 changed files with 1003 additions and 892 deletions

View File

@@ -16,4 +16,4 @@ class MetaFactory extends Factory
'value' => $this->faker->word(),
];
}
}
}

View File

@@ -17,10 +17,10 @@ class RemoteEmailFactory extends Factory
'from_name' => $this->faker->name(),
'from_email' => $this->faker->email(),
'to' => [$this->faker->email()],
'body_html' => '<p>' . $this->faker->paragraph() . '</p>',
'body_html' => '<p>'.$this->faker->paragraph().'</p>',
'body_text' => $this->faker->paragraph(),
'is_seen' => $this->faker->boolean(),
'timestamp' => $this->faker->dateTime(),
];
}
}
}

View File

@@ -13,7 +13,8 @@ return new class extends Migration
{
Schema::table('plans', function (Blueprint $table) {
$table->string('oxapay_link')->nullable()->after('accept_shoppy');
$table->boolean('accept_oxapay')->default(false)->after('oxapay_link');});
$table->boolean('accept_oxapay')->default(false)->after('oxapay_link');
});
}
/**

View File

@@ -3,7 +3,6 @@
namespace Database\Seeders;
use App\Models\User;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;

View File

@@ -3,7 +3,6 @@
namespace Database\Seeders;
use App\Models\Meta;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class MetaSeeder extends Seeder
@@ -17,10 +16,10 @@ class MetaSeeder extends Seeder
$metas->email_ids_created = 0;
$metas->messages_received = 0;
foreach ($metas as $key => $meta) {
if (!Meta::where('key', $key)->exists()) {
if (! Meta::where('key', $key)->exists()) {
Meta::create([
'key' => $key,
'value' => $meta
'value' => $meta,
]);
}
}

View File

@@ -3,7 +3,6 @@
namespace Database\Seeders;
use App\Models\Plan;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class UpdatePlansTableSeeder extends Seeder