- Issue created by @dpi
- 🇦🇺Australia dpi Perth, Australia
The error can be seen at https://git.drupalcode.org/project/symfony_messenger/-/pipelines/25593/c...
Major - Class Drupal\symfony_messenger\DataCollector\MessengerDataCollector extends @final class Symfony\Component\Messenger\DataCollector\MessengerDataCollector.
in src/DataCollector/MessengerDataCollector.php:15 - @dpi opened merge request.
- 🇮🇹Italy lussoluca Italy
To fix the issue, the only option we have is to copy all the code from the inherited class to our MessengerDataCollector.
- 🇦🇺Australia dpi Perth, Australia
Maybe theres a way to set up the original class as a service, then decorate it with our own, or some other container modification.
Its a round about way of doing it but at least we won't be subject to the apparent signal that final gives: could break at any moment.