Fix Laravel Pint formatting

This commit is contained in:
root
2026-06-09 00:03:03 -04:00
parent 8d4d610b82
commit b5fd4a4ca1
1414 changed files with 11317 additions and 10201 deletions
@@ -13,7 +13,7 @@ class InventoryCategoryServiceTest extends TestCase
public function test_create_category(): void
{
$service = new InventoryCategoryService();
$service = new InventoryCategoryService;
$result = $service->create([
'type' => 'office',
'name' => 'Supplies',
@@ -32,7 +32,7 @@ class InventoryCategoryServiceTest extends TestCase
'updated_at' => now(),
]);
$service = new InventoryCategoryService();
$service = new InventoryCategoryService;
$result = $service->update($categoryId, ['name' => 'Updated']);
$this->assertTrue($result['ok']);
@@ -17,7 +17,7 @@ class InventoryItemServiceTest extends TestCase
{
$this->seedConfig();
$categoryId = $this->seedCategory();
$service = new InventoryItemService(new InventoryContextService(), new InventoryMovementService(new InventoryContextService()));
$service = new InventoryItemService(new InventoryContextService, new InventoryMovementService(new InventoryContextService));
$result = $service->create([
'type' => 'classroom',
@@ -36,7 +36,7 @@ class InventoryItemServiceTest extends TestCase
$this->seedConfig();
$categoryId = $this->seedCategory();
$itemId = $this->seedItem($categoryId);
$service = new InventoryItemService(new InventoryContextService(), new InventoryMovementService(new InventoryContextService()));
$service = new InventoryItemService(new InventoryContextService, new InventoryMovementService(new InventoryContextService));
$result = $service->update($itemId, ['name' => 'Updated'], 1);
@@ -16,7 +16,7 @@ class InventoryMovementServiceTest extends TestCase
{
$this->seedConfig();
$itemId = $this->seedItem();
$service = new InventoryMovementService(new InventoryContextService());
$service = new InventoryMovementService(new InventoryContextService);
$result = $service->create([
'item_id' => $itemId,
@@ -17,7 +17,7 @@ class InventorySummaryServiceTest extends TestCase
$this->seedConfig();
$this->seedItem();
$service = new InventorySummaryService(new InventoryContextService());
$service = new InventorySummaryService(new InventoryContextService);
$result = $service->summary('classroom', '2025-2026');
$this->assertNotEmpty($result['items']);
@@ -19,8 +19,8 @@ class InventoryTeacherDistributionServiceTest extends TestCase
$userId = $this->seedUser();
$service = new InventoryTeacherDistributionService(
new InventoryContextService(),
new InventoryMovementService(new InventoryContextService())
new InventoryContextService,
new InventoryMovementService(new InventoryContextService)
);
$result = $service->formData($userId, null, null);
@@ -41,8 +41,8 @@ class InventoryTeacherDistributionServiceTest extends TestCase
$bookId = $this->seedItem($categoryId);
$service = new InventoryTeacherDistributionService(
new InventoryContextService(),
new InventoryMovementService(new InventoryContextService())
new InventoryContextService,
new InventoryMovementService(new InventoryContextService)
);
$result = $service->distribute($userId, [
@@ -13,7 +13,7 @@ class SupplierServiceTest extends TestCase
public function test_create_supplier(): void
{
$service = new SupplierService();
$service = new SupplierService;
$result = $service->create([
'name' => 'Supplier A',
'email' => 'a@example.com',
@@ -31,7 +31,7 @@ class SupplierServiceTest extends TestCase
'updated_at' => now(),
]);
$service = new SupplierService();
$service = new SupplierService;
$result = $service->update($id, ['name' => 'Supplier Updated']);
$this->assertTrue($result['ok']);
@@ -13,7 +13,7 @@ class SupplyCategoryServiceTest extends TestCase
public function test_create_category(): void
{
$service = new SupplyCategoryService();
$service = new SupplyCategoryService;
$result = $service->create(['name' => 'Paper']);
$this->assertTrue($result['ok']);
@@ -28,7 +28,7 @@ class SupplyCategoryServiceTest extends TestCase
'updated_at' => now(),
]);
$service = new SupplyCategoryService();
$service = new SupplyCategoryService;
$result = $service->update($id, ['name' => 'Pens Updated']);
$this->assertTrue($result['ok']);