update project
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<?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.']
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user