You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix record: mago analyze flags loadConstraintDataNames() as unused-method in Metadata/Source.php #63
mago analyze flags help[unused-method] on Metadata\Source::loadConstraintDataNames(). It writes to $this->data['constraint_names'][$schema], but no other method in Source.php, AbstractSource, or MetadataInterface reads that key or exposes it via a public getter (unlike its sibling loadConstraintDataKeys(), which backs AbstractSource::getConstraintKeys()).
@simon-mundy has the most context on this part of the SQL/metadata handling and knows the scope of the refactor needed here better than we do.
This finding will be captured in a mago baseline rather than fixed or suppressed inline.
Closing as resolved. loadConstraintDataNames() is captured as unused-method in the committed analysis-baseline.toml for src/Metadata/Source.php, per the disposition recorded in this issue.
Activity
tyrsson commentedon Oct 7, 2026
Closing as resolved.
loadConstraintDataNames()is captured asunused-methodin the committedanalysis-baseline.tomlforsrc/Metadata/Source.php, per the disposition recorded in this issue.