recipes-contrib icon indicating copy to clipboard operation
recipes-contrib copied to clipboard

[vincentlanglet/twig-cs-fixer] add default config and add message

Open JohJohan opened this issue 1 year ago • 2 comments

Q A
License MIT
Packagist vincentlanglet/twig-cs-fixer

add default config and add message

JohJohan avatar Oct 21 '24 13:10 JohJohan

Thanks for the PR 😍

How to test these changes in your application

  1. Define the SYMFONY_ENDPOINT environment 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
    
  2. Install the package(s) related to this recipe:

    composer req symfony/flex
    composer req 'vincentlanglet/twig-cs-fixer:^3.0'
    
  3. Don't forget to unset the SYMFONY_ENDPOINT environment 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. 

github-actions[bot] avatar Oct 21 '24 13:10 github-actions[bot]

@VincentLanglet Maybe you can chime in here?

fabpot avatar Oct 21 '24 14:10 fabpot

Folks @VincentLanglet @JohJohan , what do we decide about it? Does this package needs recipe or not?

diimpp avatar Dec 05 '24 11:12 diimpp

Recipe would be useful to update gitignore file for example.

But providing a .twig-cs-fixer.dist.php file by default is not needed.

VincentLanglet avatar Dec 05 '24 11:12 VincentLanglet

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

JohJohan avatar Dec 05 '24 11:12 JohJohan