Replace annotation by attribute :tada:
https://github.com/symfony/symfony-docs/pull/18130
When searching on "route annotation symfony" ~a search engine~ Google, https://symfony.com/bundles/SensioFrameworkExtraBundle/current/annotations/routing.html is the second link.
So I think in some cases "historical" docs pags are better referenced than new Symfony attributes
I agree we should add a warning and probably add link to symfony docs for theses anootations
@Route and @Method
@ParamConverter
@Template
@Cache
@Security & @IsGranted
I already have this error, and need to dig for understand my problem ! I created #49839 (with your very clear sentence)
| Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | Fix #49826 | License | MIT | Doc PR | symfony/symfony-docs#...
When form is not found, error message is now The form doesn't contain any button with "Save changes" as its content, id, value or name.
instead of The current node list is empty.
Directive index
is not used anymore https://github.com/symfony/symfony-docs/issues/18122#issuecomment-1484663042
Fix https://github.com/symfony/symfony-docs/issues/18122
Well, I will prove a PR to drop them
https://symfony.com/doc/current/validation.html#validation-callables
https://github.com/symfony/symfony-docs/blob/5292d7b08dd0a9d4f51c7c43814b21e2f371c0bc/validation.rst?plain=1#L237-L242
Directive seems OK, but is not rendered (adding space do nothing but with versionnadded or note it's ok)
Someone has an idea ?
(Initially reported by @BafS on slack)