Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[RFC] include a new dev config file for twig-cs-fixer in the codebase #54799

Copy link
Copy link
Open
@94noni

Description

@94noni
Issue body actions

Description

Hello

May I propose to add the tool twig-cs-fixer (repo) in this repo
Like adding a twig-cs-fix config file in the repo as its done for the php-cs-fixer
And from time to time, run it manually or via CI

RFC

What?

  • this tool is like the php-cs-fixer, but for twig files
  • it is based on official twig coding standard, and allows to lint, and also fix, your twig files

Why?

  • it is listed on twig official documentation
  • it is solid and working great
  • it adds value as code standard, as per all other cs fixers

How?

  • We can add it, starting from 7.2, make it run on symfony/symfony twig files present in the codebase

Thank you!


friendly ping @VincentLanglet and our discussion here

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCRFC = Request For Comments (proposals about features that you want to be discussed)RFC = Request For Comments (proposals about features that you want to be discussed)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.