-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Description
Symfony version(s) affected
6.2
Description
Several views don't follow Twig Coding Standards (https://twig.symfony.com/doc/3.x/coding_standards.html). Here's an example :
\vendor\symfony\web-profiler-bundle\Resources\views\Profiler\open.html.twig
l.12 c.73 : ERROR There should be 0 space before the "=" in the named arguments list.
l.12 c.75 : ERROR There should be 0 space after the "=" in the named arguments list.
I would like to add my humble contribution to Symfony by refactoring those file.
Also worth to notice : all errors can be found using friendsoftwig/twigcs. Would it be worth to add this check in the CI ?
How to reproduce
Execute .\vendor\bin\twigcs at the root of any Symfony 6.2 project.
Possible Solution
Refactor code manually. .\vendor\bin\twigcs indicates 401 violation(s) found in total (228 for WebProfilerBundle). I'd like to do it.
Additional Context
No response
sstok