remove codeigniter

This commit is contained in:
root
2026-06-04 02:41:08 -04:00
parent 4e33882ac7
commit b4e6ac03c5
180 changed files with 457 additions and 2186 deletions
@@ -19,7 +19,7 @@ class ClassProgressMetaService
}
/**
* Fallback: next N Sundays from today (CI `buildUpcomingSundayOptions`).
* Fallback: next N Sundays from today (legacy `buildUpcomingSundayOptions`).
*
* @return list<string>
*/
@@ -29,7 +29,7 @@ class ClassProgressMetaService
}
/**
* CI-aligned Sundays within semester/school-year range when configuration allows.
* legacy-aligned Sundays within semester/school-year range when configuration allows.
*
* @return list<string>
*/
@@ -67,7 +67,7 @@ class ClassProgressMetaService
return $options !== [] ? $options : $this->buildUpcomingSundayOptions($count);
}
/** CI `pickDefaultWeekStart`. */
/** legacy `pickDefaultWeekStart`. */
public function pickDefaultWeekStart(array $options): string
{
if ($options === []) {
@@ -109,7 +109,7 @@ class ClassProgressMetaService
}
/**
* CI `resolveProgressDateRange`.
* legacy `resolveProgressDateRange`.
*
* @return array{0:string,1:string}|null
*/
@@ -110,7 +110,7 @@ class ClassProgressMutationService
}
/**
* CI `ClassProgressController::update` — sync all subjects for the weekly batch keyed by {@see $anchor}.
* legacy `ClassProgressController::update` — sync all subjects for the weekly batch keyed by {@see $anchor}.
*
* @return Collection<int, ClassProgressReport>
*/
@@ -155,7 +155,7 @@ class ClassProgressQueryService
}
/**
* CI `ClassProgressController::resolveAssignedTeacherIds`.
* legacy `ClassProgressController::resolveAssignedTeacherIds`.
*
* @return list<int>
*/
@@ -4,7 +4,7 @@ namespace App\Services\ClassProgress;
class ClassProgressRuleService
{
/** CI `ClassProgressController::CUSTOM_UNIT_ROW_LABEL` — must match teacher form JS. */
/** legacy `ClassProgressController::CUSTOM_UNIT_ROW_LABEL` — must match teacher form JS. */
public const CUSTOM_UNIT_ROW_LABEL = 'Custom';
public function defaultStatus(): string
@@ -19,7 +19,7 @@ class ClassProgressRuleService
}
/**
* CI `buildUnitChapterSummary` — Custom / typed chapter rows preserved.
* legacy `buildUnitChapterSummary` — Custom / typed chapter rows preserved.
*
* @param array<int|string, mixed> $unitValues
* @param array<int|string, mixed> $chapterValues
@@ -56,7 +56,7 @@ class ClassProgressRuleService
return mb_strlen($summary) > 120 ? mb_substr($summary, 0, 120) : $summary;
}
/** CI `hasIslamicUnitSelection`. */
/** legacy `hasIslamicUnitSelection`. */
public function hasIslamicUnitSelection(array $payload): bool
{
$unitValues = array_map('trim', (array) ($payload['unit_islamic'] ?? []));
@@ -92,7 +92,7 @@ class ClassProgressRuleService
}
/**
* CI `parseUnitChapterSummary` — inverse of {@see buildUnitChapterSummary()} for edit forms.
* legacy `parseUnitChapterSummary` — inverse of {@see buildUnitChapterSummary()} for edit forms.
*
* @return array{units: list<string>, chapters: list<string>}
*/