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
@@ -9,7 +9,7 @@ class FeeGradeServiceTest extends TestCase
{
public function test_grade_level_parsing(): void
{
$service = new FeeGradeService();
$service = new FeeGradeService;
$this->assertSame(0, $service->getGradeLevel('K'));
$this->assertSame(99, $service->getGradeLevel('Y'));
@@ -19,7 +19,7 @@ class FeeGradeServiceTest extends TestCase
public function test_compare_grades_orders_numeric_then_suffix(): void
{
$service = new FeeGradeService();
$service = new FeeGradeService;
$this->assertSame(-1, $service->compareGrades('2', '3'));
$this->assertSame(-1, $service->compareGrades('3-A', '3-B'));
@@ -225,8 +225,8 @@ class FeeRefundCalculatorServiceTest extends TestCase
private function makeService(): FeeRefundCalculatorService
{
return new FeeRefundCalculatorService(
new FeeConfigService(),
new FeeStudentFeeService(new FeeGradeService(), new FeeConfigService())
new FeeConfigService,
new FeeStudentFeeService(new FeeGradeService, new FeeConfigService)
);
}
@@ -258,7 +258,7 @@ class FeeRefundCalculatorServiceTest extends TestCase
{
$invoiceId = DB::table('invoices')->insertGetId([
'parent_id' => $parentId,
'invoice_number' => 'INV-' . $parentId,
'invoice_number' => 'INV-'.$parentId,
'total_amount' => $amount,
'balance' => 0.00,
'paid_amount' => $amount,
@@ -55,7 +55,7 @@ class FeeRefundDetailServiceTest extends TestCase
'status' => 'Paid',
]);
$service = new FeeRefundDetailService();
$service = new FeeRefundDetailService;
$result = $service->calculateRefundDetails([
[
'student_id' => 1,
@@ -138,7 +138,7 @@ class FeeStudentFeeServiceTest extends TestCase
private function makeService(): FeeStudentFeeService
{
return new FeeStudentFeeService(new FeeGradeService(), new FeeConfigService());
return new FeeStudentFeeService(new FeeGradeService, new FeeConfigService);
}
private function seedFeeConfig(): void
@@ -148,10 +148,11 @@ class TuitionCalculationServiceTest extends TestCase
private function makeService(): TuitionCalculationService
{
$config = new FeeConfigService();
$config = new FeeConfigService;
return new TuitionCalculationService(
$config,
new FeeStudentFeeService(new FeeGradeService(), $config)
new FeeStudentFeeService(new FeeGradeService, $config)
);
}