Review main Merged

84406[TASK] Use PHP attributes more often to configure DI

Christian Kuhn CR +2 V +2 Hard +134 −191 updated 05/27/24, 12:35

Commit message

Using PHP attributes to configure DI within classes
directly is more easy to understand since developers
don't need to constantly look up DI configuration
Services.yaml files, but have everything in one place.

The patch switches all classes that previously
used '@cache.xy' to get a specific cache injected
to an `Autowire` attribute.

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 35

Show 15 more files