Twig spaceless incorrectly flagged as issue

Created on 1 December 2024, 6 months ago

Problem/Motivation

{% apply spaceless %} code {% endapply %} is incorrectly flagged as an issue for Drupal 11

Steps to reproduce

Add twig code similar to above and scan theme

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

4.3

Component

Upgrade Assist

Created by

πŸ‡ΊπŸ‡ΈUnited States charlie59

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @charlie59
  • Status changed to Postponed: needs info about 1 month ago
  • πŸ‡­πŸ‡ΊHungary GΓ‘bor Hojtsy Hungary

    I think this is the same as πŸ› Ignore Twig 3.15 deprecation issues for now Active was?

  • πŸ‡¬πŸ‡·Greece bserem

    Running the latest dev version (almost equal to 4.3.7) I am getting these reported too but properly categorized under ignore in both the UI and drush.

    $ drush us-a weather
     [notice] Processing /var/www/html/web/themes/custom/weather.
    
    ================================================================================
    Weather, --
    Scanned on Mon, 26/05/2025 - 08:50
    
    FILE: web/themes/custom/weather/templates/form/select.html.twig
    
    STATUS         LINE                           MESSAGE                           
    --------------------------------------------------------------------------------
    Ignore         13   Since twig/twig 3.12: Twig Filter "spaceless" is deprecated.
                        See https://drupal.org/node/3071078.                        
    --------------------------------------------------------------------------------
    
    

    Closing this

Production build 0.71.5 2024