29 lines
974 B
PHP
29 lines
974 B
PHP
<?php
|
|
|
|
namespace App\Support\Release;
|
|
|
|
final class ShadowComparisonRunner
|
|
{
|
|
/** @return ShadowComparisonResult[] */
|
|
public function runAll(): array
|
|
{
|
|
return [
|
|
$this->placeholder('finance', 'legacy_balance_vs_modular_balance'),
|
|
$this->placeholder('attendance', 'legacy_scanner_vs_modular_scanner'),
|
|
$this->placeholder('students', 'legacy_student_payload_vs_modular_dto'),
|
|
$this->placeholder('communication', 'legacy_recipients_vs_modular_preview'),
|
|
$this->placeholder('reporting', 'legacy_report_vs_modular_report'),
|
|
];
|
|
}
|
|
|
|
public function placeholder(string $module, string $scenario): ShadowComparisonResult
|
|
{
|
|
return new ShadowComparisonResult(
|
|
module: $module,
|
|
scenario: $scenario,
|
|
status: 'not_configured',
|
|
mismatches: ['Wire this to the project legacy implementation before production cutover.']
|
|
);
|
|
}
|
|
}
|