From b9917327dabbcd816e3efd60e397fabf052f9337 Mon Sep 17 00:00:00 2001 From: tblivet Date: Tue, 29 Oct 2024 09:15:06 +0100 Subject: [PATCH] feat: readme update --- .gitignore | 2 +- README.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 610c509b9..0437fb448 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ vendor/ node_modules/ /config_*.xml .php_cs.cache +.twig-cs-fixer.cache .idea .env @@ -22,4 +23,3 @@ node_modules/ /views/css/ /views/img/ /views/js/ -tests/twig-check/.twig-cs-fixer.cache diff --git a/README.md b/README.md index 2ddae9844..406ef73a1 100644 --- a/README.md +++ b/README.md @@ -157,6 +157,10 @@ All backend commands should be executed from the root directory. - `./vendor/bin/php-cs-fixer` ⮕ Runs **PHP CS Fixer**, a tool that ensures your PHP code follows the correct coding standards. Add the `fix` option to automatically resolve fixable style issues. +- `./tests/twig-check/vendor/bin/twig-cs-fixer lint ./views/templates` ⮕ Runs **Twig CS Fixer - Lint**, a tool that ensures your Twig code follows the correct coding standards. + +- `./tests/twig-check/vendor/bin/twig-cs-fixer fix ./views/templates` ⮕ Runs **Twig CS Fixer - Fix**, to automatically resolve fixable coding standard issues. + ### Frontend All frontend commands should be executed from the `_dev` directory.