recipes-contrib
recipes-contrib copied to clipboard
[vincentlanglet/twig-cs-fixer] add default config and add message
| Q | A |
|---|---|
| License | MIT |
| Packagist | vincentlanglet/twig-cs-fixer |
add default config and add message
Thanks for the PR 😍
How to test these changes in your application
-
Define the
SYMFONY_ENDPOINTenvironment variable:# On Unix-like (BSD, Linux and macOS) export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1696/index.json # On Windows SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-1696/index.json -
Install the package(s) related to this recipe:
composer req symfony/flex composer req 'vincentlanglet/twig-cs-fixer:^3.0' -
Don't forget to unset the
SYMFONY_ENDPOINTenvironment variable when done:# On Unix-like (BSD, Linux and macOS) unset SYMFONY_ENDPOINT # On Windows SET SYMFONY_ENDPOINT=
Diff between recipe versions
In order to help with the review stage, I'm in charge of computing the diff between the various versions of patched recipes. I'm going keep this comment up to date with any updates of the attached patch.
vincentlanglet/twig-cs-fixer
0.6 vs 3.0
diff --git a/vincentlanglet/twig-cs-fixer/3.0/post-install.txt b/vincentlanglet/twig-cs-fixer/3.0/post-install.txt
new file mode 100644
index 00000000..9926c2fc
--- /dev/null
+++ b/vincentlanglet/twig-cs-fixer/3.0/post-install.txt
@@ -0,0 +1,4 @@
+
+ You can create a `.twig-cs-fixer.dist.php` and configure to your needs
+ See https://github.com/VincentLanglet/Twig-CS-Fixer/blob/main/docs/configuration.md
+ For configuration explanation.
@VincentLanglet Maybe you can chime in here?
Folks @VincentLanglet @JohJohan , what do we decide about it? Does this package needs recipe or not?
Recipe would be useful to update gitignore file for example.
But providing a .twig-cs-fixer.dist.php file by default is not needed.
Recipe would be useful to update gitignore file for example.
But providing a .twig-cs-fixer.dist.php file by default is not needed.
Okay i will remove the .twig-cs-fixer.dist.php file