add test batches

This commit is contained in:
root
2026-06-08 23:45:55 -04:00
parent c792b8be05
commit 8d4d610b82
1480 changed files with 22587 additions and 10762 deletions
@@ -9,7 +9,8 @@ class AdministratorSharedService
{
public function __construct(
protected Configuration $configuration
) {}
) {
}
public function getSemester(?string $override = null): string
{
@@ -34,7 +35,7 @@ class AdministratorSharedService
}
if (preg_match('/^(\d{4})\s*-\s*(\d{4})$/', $schoolYear, $m)) {
return ((int) $m[1] - 1).'-'.((int) $m[2] - 1);
return ((int) $m[1] - 1) . '-' . ((int) $m[2] - 1);
}
if (preg_match('/^(\d{4})\s*-\s*(\d{2})$/', $schoolYear, $m)) {
@@ -43,7 +44,6 @@ class AdministratorSharedService
if ($end < 0) {
$end += 100;
}
return sprintf('%04d-%02d', $start, $end);
}
@@ -126,7 +126,7 @@ class AdministratorSharedService
public function countUniqueEntities($rows): int
{
if (! is_iterable($rows)) {
if (!is_iterable($rows)) {
return 0;
}