Review main Merged

80404[TASK] Introduce Symfony attribute based registration of CLI commands

Bastien Lutz CR +2 V +2 Normal +79 −0 updated 10/26/23, 21:47

Commit message

CLI commands had to be registered in the extensions `Services.yaml`
file with the `console.command` tag. This change enables automatic
cli command registration with the tag `console.command` by using
the existing `\Symfony\Component\Console\Attribute\AsCommand`
symfony PHP attribute. Thus providing an additional and simpler
way, without deprecating or enforcing to change already existing
registrations.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2