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

@@ -231,4 +231,4 @@ class ColorPickerTest extends TestCase
$this->assertEquals($staticResult, $instanceResult);
}
}
}

View File

@@ -72,4 +72,4 @@ class ActivationKeyTest extends TestCase
$this->assertCount(1, $unactivatedKeys);
$this->assertCount(1, $activatedKeys);
}
}
}

View File

@@ -153,4 +153,4 @@ class BlogTest extends TestCase
$this->assertInstanceOf(\Illuminate\Database\Eloquent\Model::class, $blog);
}
}
}

View File

@@ -91,4 +91,4 @@ class CategoryTest extends TestCase
$this->assertInstanceOf(\Illuminate\Database\Eloquent\Model::class, $category);
}
}
}

View File

@@ -3,10 +3,8 @@
namespace Tests\Unit\Models;
use App\Models\Email;
use App\Models\RemoteEmail;
use Carbon\Carbon;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\File;
use Tests\TestCase;
class EmailTest extends TestCase
@@ -91,7 +89,7 @@ class EmailTest extends TestCase
}
/** @test */
public function it_validates_email_format_in_fetchEmailFromDB()
public function it_validates_email_format_in_fetch_email_from_db()
{
$result = Email::fetchEmailFromDB('invalid-email');
@@ -114,7 +112,7 @@ class EmailTest extends TestCase
}
/** @test */
public function it_orders_emails_by_timestamp_descending_in_fetchEmailFromDB()
public function it_orders_emails_by_timestamp_descending_in_fetch_email_from_db()
{
$oldEmail = Email::factory()->create([
'to' => ['test@example.com'],
@@ -138,4 +136,4 @@ class EmailTest extends TestCase
$this->assertEquals('emails', $email->getTable());
}
}
}

View File

@@ -72,4 +72,4 @@ class LogTest extends TestCase
$this->assertEquals($newLog->id, $logs->first()->id);
$this->assertEquals($oldLog->id, $logs->last()->id);
}
}
}

View File

@@ -56,4 +56,4 @@ class MenuTest extends TestCase
$this->assertEquals('home', $childMenu->parent);
}
}
}

View File

@@ -68,4 +68,4 @@ class MessageTest extends TestCase
$this->assertCount(1, $unseenMessages);
$this->assertCount(1, $seenMessages);
}
}
}

View File

@@ -56,4 +56,4 @@ class MetaTest extends TestCase
$this->assertEquals('ZEmailnator', $siteName->value);
$this->assertEquals('100', $maxEmails->value);
}
}
}

View File

@@ -59,4 +59,4 @@ class PageTest extends TestCase
$this->assertCount(1, $publishedPages);
$this->assertCount(1, $draftPages);
}
}
}

View File

@@ -147,4 +147,4 @@ class PlanTest extends TestCase
$this->assertInstanceOf(\Illuminate\Database\Eloquent\Model::class, $plan);
}
}
}

View File

@@ -76,4 +76,4 @@ class PremiumEmailTest extends TestCase
$this->assertCount(1, $seenEmails);
$this->assertCount(1, $unseenEmails);
}
}
}

View File

@@ -65,4 +65,4 @@ class RemoteEmailTest extends TestCase
$this->assertInstanceOf(Carbon::class, $remoteEmail->timestamp);
$this->assertEquals($timestamp->format('Y-m-d H:i:s'), $remoteEmail->timestamp->format('Y-m-d H:i:s'));
}
}
}

View File

@@ -64,4 +64,4 @@ class SettingTest extends TestCase
$this->assertCount(2, $allSettings);
$this->assertIsString($allSettings->first()->app_name);
}
}
}

View File

@@ -135,4 +135,4 @@ class TicketResponseTest extends TestCase
$this->assertInstanceOf(\Illuminate\Database\Eloquent\Model::class, $response);
}
}
}

View File

@@ -97,4 +97,4 @@ class TicketTest extends TestCase
$this->assertInstanceOf(\Illuminate\Database\Eloquent\Model::class, $ticket);
}
}
}

View File

@@ -64,4 +64,4 @@ class UsageLogTest extends TestCase
$this->assertEquals(15, $usageLog->emails_created_count);
$this->assertEquals(25, $usageLog->emails_received_count);
}
}
}

View File

@@ -214,4 +214,4 @@ class UserTest extends TestCase
$this->assertCount(0, $this->user->fresh()->tokens);
}
}
}

View File

@@ -343,4 +343,4 @@ class ZEmailTest extends TestCase
$this->assertEquals('', $result);
}
}
}

View File

@@ -157,4 +157,4 @@ class NotifyMeTest extends TestCase
$this->assertTrue($result);
}
}
}