Closed
Description
Symfony version(s) affected
5.4-6.1
Description
Not that important a bug, but the ServiceSubscriberTrait only works in combintation with PHP8.0 attributes, so using the old @required
annotation is a bit weird, instead the #[Required]
attribute should be used.
How to reproduce
Possible Solution
Use attribute instead
Additional Context
Not really an issue but also not a feature request. not sure what I should have selected instead. Personally, I thought bug was the best choice.