pub struct ConversionReport {
pub converted_automatically: Vec<String>,
pub manual_review: Vec<ManualReviewSection>,
pub packages_mapped: Vec<PackageNote>,
pub packages_unmapped: Vec<PackageNote>,
pub not_attempted: Vec<String>,
}Fields§
§converted_automatically: Vec<String>One line per fully-mechanical category, e.g. “42 routes (routes/web.php, routes/api.php)” - a bare count is fine here, since nothing in this bucket needs a human to go look at it.
manual_review: Vec<ManualReviewSection>§packages_mapped: Vec<PackageNote>§packages_unmapped: Vec<PackageNote>§not_attempted: Vec<String>Structure not attempted at all in this phase - named so nothing looks like it was silently ignored by accident.
Implementations§
Source§impl ConversionReport
impl ConversionReport
pub fn new() -> Self
Sourcepub fn add_manual_review(
&mut self,
heading: impl Into<String>,
items: Vec<String>,
)
pub fn add_manual_review( &mut self, heading: impl Into<String>, items: Vec<String>, )
Always records the section, even with zero items - a re-run of
xr convert against a fixed-up Laravel app (or a newer xr
build that now handles a category it didn’t before) should make
that visibly true in the fresh report, not just make the section
silently vanish. A vanished section and a stale, never-regenerated
CONVERSION_REPORT.md look identical from the outside; an
explicit “(0)” with a “(none)” body is unambiguous proof this run
actually checked that category and found nothing, matching this
module’s own “nothing is silently dropped” doc comment for
categories, not just individual items.