derrabus,
@derrabus@phpc.social avatar

It's done. Symfony 7 won't support Doctrine Annotations anymore. PHP's attributes are the future.

SenseException,
@SenseException@phpc.social avatar

@derrabus "PHP Annotations"

Skoop,
@Skoop@phpc.social avatar

@derrabus that makes me sad. but I do understand.

derrabus,
@derrabus@phpc.social avatar

@Skoop Why though?

Skoop,
@Skoop@phpc.social avatar

@derrabus it's a personal thing. I have not yet internalized attributes. I know the annotations by heart because of years of working with them (and still working on tons of legacy projects).

derrabus,
@derrabus@phpc.social avatar

@Skoop Then try to familiarize yourself with attributes. They are in any way a worthy successor to Doctrine Annotations.

That being said, the fact that Symfony dropped them does not mean that you cannot use them anymore for your own custom annotations. Everybody is allowed to do the move at their own pace and everybody is allowed to decide to not do the move at all.

alessandrolai,
@alessandrolai@phpc.social avatar

@Skoop @derrabus aren't attributes the same as annotations in terms of names/classes? I already migrated a couple of projects (thanks to Rector) and it was so identical that the git diff was minimal...

derrabus,
@derrabus@phpc.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines