Goal
Add a CardScheme constraint to the muonsoft-validation library, following Symfony Validator logic.
Reference
- Symfony:
Symfony\Component\Validator\Constraints\CardScheme and its validator.
- Align option signatures (supported card schemes), error messages, and
null/empty value behavior with the library's established approach.
Scope
- Constraint metadata and validator.
- Validate card numbers against selected schemes (as in Symfony).
- Unit tests for valid/invalid cases and edge cases.
Complexity
2 / 5 (from the constraints backlog plan).
Migrated from Linear: IGO-5
Priority: High
Estimate: 2 points
Goal
Add a CardScheme constraint to the muonsoft-validation library, following Symfony Validator logic.
Reference
Symfony\Component\Validator\Constraints\CardSchemeand its validator.null/empty value behavior with the library's established approach.Scope
Complexity
2 / 5 (from the constraints backlog plan).
Migrated from Linear: IGO-5
Priority: High
Estimate: 2 points