Skip to content

[symfony/twig-bundle] The var name must use snake_case; expected frankenphp_hot_reload #1530

@StellarGlitch

Description

@StellarGlitch

The newly added section from PR #1526 unfortunately does not meet the Twig coding standards.
Twig CS Fixer reports:

 KO .\templates\base.html.twig
 ------- ------------------------------------------------------------------------------------------------
  ERROR   13   |
          14   |         {% set frankenphpHotReload = app.request.server.get('FRANKENPHP_HOT_RELOAD') %}
          >>   | The var name must use snake_case; expected frankenphp_hot_reload.
          15   |         {% if frankenphpHotReload %}
 ------- ------------------------------------------------------------------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions