Closed TheHett closed 3 years ago
duplicate #2301 - attributes are not supported yet, please change to annotations for now
Probably related to https://github.com/FriendsOfSymfony/FOSRestBundle/issues/2311
Should be fixed by https://github.com/FriendsOfSymfony/FOSRestBundle/issues/2311
Hi. I'm using FOSRest version 3.0.x with new php 8 attributes. I noticed that you extends the Symfony
Route
annotation, but miss all constructor arguments (exceptdata
)But the original consutructor looks like:
Because of what it is impossible to use such a expressions like this:
And more one notice in PhpStorm
To avoid this notice the annotation class shout be marked by annotation
Attribute
, like original SymfonyRoute
class:Not only this annotation has some problem.