Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Followup for #1825952: Turn on twig autoescape by default.
We should standardize all inline variable type declarations on the "standard" format which is supported by all popular IDE's:
/** @var \Twig_Environment $twig_service */
Related issue to put this in the comment standards: #2305593: [policy] Set a standard for @var inline variable type declarations.
Comments
Comment #1
pfrenssenI guess we best postpone this until this is mentioned in the documentation standards, to avoid having to do this again in the future.
Postponed on #2305593: [policy] Set a standard for @var inline variable type declarations.
Comment #4
pfrenssenComment #5
jthorson CreditAttribution: jthorson as a volunteer commentedStandard provisionally ratified by the Coding Standards Committee, and moved over for core committer approval ... unpostponing this for implementation.
Comment #12
quietone CreditAttribution: quietone as a volunteer commentedThe standard has been approved and implementing it in core has been done in #3207734: Fix Drupal.Commenting.InlineVariableComment. Therefor, closing as duplicate.