Add result summary banner and use PHP_BINARY for preflight

This commit is contained in:
Hamza-Ayed
2026-09-10 23:43:58 +03:00
parent c280cfc004
commit 35cb3d34d8
2 changed files with 3 additions and 1 deletions
@@ -425,6 +425,7 @@ function finish(): never
foreach ($warnings as $issue) {
echo '[WARN] ' . $issue['code'] . ' — ' . $issue['message'] . PHP_EOL;
}
echo PHP_EOL . sprintf("=== INTAKE RESULT: %s (%d errors, %d warnings) ===", strtoupper($result['status']), count($errors), count($warnings)) . PHP_EOL;
}
exit($errors === [] ? 0 : 1);
}