respect-validation/src-dev/Commands
Alexandre Gomes Gaigalas dd4b9acd43
Extract CodeGen namespace from LintMixinCommand
Replace hardcoded validator class lists with a declarative #[Mixin]
attribute and extract the mixin generation logic into a reusable
CodeGen namespace under src-dev/CodeGen/.

The new MixinGenerator discovers prefix definitions and filtering
rules by scanning #[Mixin] attributes on the target namespace's
classes, removing the need for hardcoded configuration. It supports
configurable interface types (Builder for __callStatic, Chain for
__call) with custom suffixes, return types, and root extends.

This is the first step toward extracting the code generation into a
standalone package that can map __call/__callStatic to any namespace,
possibly for Respect/StringFormatter and any kind of project in the
future.
2026-03-05 18:08:30 -03:00
..
LintDocsCommand.php Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
LintMixinCommand.php Extract CodeGen namespace from LintMixinCommand 2026-03-05 18:08:30 -03:00
LintSpdxCommand.php Enhance LintSpdxCommand with contributor tracking and header normalization 2026-02-03 15:23:20 +01:00
SmokeTestsCheckCompleteCommand.php Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
UpdateDomainSuffixesCommand.php Fix PublicSuffix validator and UpdateDomainSuffixesCommand 2026-02-23 12:18:57 +00:00
UpdateDomainToplevelCommand.php Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
UpdatePostalCodesCommand.php Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00