This commit is contained in:
team 1
2026-05-07 15:42:35 +02:00
parent 987b15d4ff
commit e02f3d7143
5 changed files with 282 additions and 114 deletions

View File

@@ -65,6 +65,7 @@ final class ConfigSourceAuditCommand extends Command
['constructor_defaults' => (string) ($summary['constructor_defaults'] ?? 0)],
['constructor_defaults_without_yaml_mapping' => (string) ($summary['constructor_defaults_without_yaml_mapping'] ?? 0)],
['genre_value_paths_with_source_paths' => (string) ($summary['genre_value_paths_with_source_paths'] ?? 0)],
['genre_review_path_groups_with_source_paths' => (string) ($summary['genre_review_path_groups_with_source_paths'] ?? 0)],
['genre_declared_source_paths' => (string) ($summary['genre_declared_source_paths'] ?? 0)],
['genre_source_of_truth_violations' => (string) ($summary['genre_source_of_truth_violations'] ?? 0)],
['genre_source_of_truth_fallback_empty' => (string) ($summary['genre_source_of_truth_fallback_empty'] ?? 0)],
@@ -128,8 +129,8 @@ final class ConfigSourceAuditCommand extends Command
}
if ($genreSourceRows !== []) {
$io->section('Single-genre configuration source paths');
$io->table(['Genre value path', 'Legacy/effective source path'], $genreSourceRows);
$io->section('Single-genre declared source paths');
$io->table(['Genre metadata path', 'Legacy/effective source path'], $genreSourceRows);
}
@@ -150,7 +151,7 @@ final class ConfigSourceAuditCommand extends Command
if ($sourceOfTruthRows !== []) {
$io->section('Genre source-of-truth guard');
$io->table(['Genre value path', 'Legacy/effective source path', 'State', 'Hash'], $sourceOfTruthRows);
$io->table(['Genre metadata path', 'Legacy/effective source path', 'State', 'Hash'], $sourceOfTruthRows);
}
}
}