Fix Laravel Pint formatting

This commit is contained in:
root
2026-06-08 23:30:22 -04:00
parent 567dc24649
commit c792b8be05
1288 changed files with 10766 additions and 9669 deletions
@@ -3,8 +3,8 @@
namespace Tests\Unit\Services\Payments;
use App\Services\Payments\PaymentTransactionService;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Schema;
use Tests\TestCase;
@@ -15,13 +15,13 @@ class PaymentTransactionServiceTest extends TestCase
public function test_create_and_update_transaction(): void
{
if (!Schema::hasColumn('payment_transactions', 'payment_reference')) {
if (! Schema::hasColumn('payment_transactions', 'payment_reference')) {
Schema::table('payment_transactions', function (Blueprint $table) {
$table->string('payment_reference')->nullable();
});
}
if (!Schema::hasColumn('payment_transactions', 'is_full_payment')) {
if (! Schema::hasColumn('payment_transactions', 'is_full_payment')) {
Schema::table('payment_transactions', function (Blueprint $table) {
$table->boolean('is_full_payment')->default(0);
});
@@ -41,7 +41,7 @@ class PaymentTransactionServiceTest extends TestCase
'status' => 'Pending',
]);
$service = new PaymentTransactionService();
$service = new PaymentTransactionService;
$transaction = $service->create([
'transaction_id' => 'TXN-1',
'payment_id' => 1,