diff --git a/RECIPES.md b/RECIPES.md index eed3514c..3e6c880b 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -22,6 +22,7 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith | [nelmio/cors-bundle](https://packagist.org/packages/nelmio/cors-bundle) | [1.5](nelmio/cors-bundle/1.5) | `cors` | | [nelmio/security-bundle](https://packagist.org/packages/nelmio/security-bundle) | [2.4](nelmio/security-bundle/2.4) | | | [nyholm/psr7](https://packagist.org/packages/nyholm/psr7) | [1.0](nyholm/psr7/1.0) | | +| [php-cs-fixer/shim](https://packagist.org/packages/php-cs-fixer/shim) | [3.0](php-cs-fixer/shim/3.0) | `cs-fixer-shim`, `csfixershim`, `php-cs-fixer-shim`, `phpcsfixershim` | | [phpunit/phpunit](https://packagist.org/packages/phpunit/phpunit) | [9.3](phpunit/phpunit/9.3) | | | [scheb/2fa-bundle](https://packagist.org/packages/scheb/2fa-bundle) | [6.0](scheb/2fa-bundle/6.0) | `2fa` | | [sensio/framework-extra-bundle](https://packagist.org/packages/sensio/framework-extra-bundle) | [5.2](sensio/framework-extra-bundle/5.2) | `annot`, `annotation`, `annotations`, `annots` | diff --git a/archived/php-cs-fixer.shim/16422bf8eac6c3be42afe07d37e2abc89d2bdf6b.json b/archived/php-cs-fixer.shim/16422bf8eac6c3be42afe07d37e2abc89d2bdf6b.json new file mode 100644 index 00000000..c65a7a06 --- /dev/null +++ b/archived/php-cs-fixer.shim/16422bf8eac6c3be42afe07d37e2abc89d2bdf6b.json @@ -0,0 +1,37 @@ +{ + "manifests": { + "php-cs-fixer/shim": { + "manifest": { + "copy-from-recipe": { + ".php-cs-fixer.dist.php": ".php-cs-fixer.dist.php" + }, + "gitignore": [ + "/.php-cs-fixer.php", + "/.php-cs-fixer.cache" + ] + }, + "files": { + ".php-cs-fixer.dist.php": { + "contents": [ + "in(__DIR__)", + " ->exclude('var')", + ";", + "", + "return (new PhpCsFixer\\Config())", + " ->setRules([", + " '@Symfony' => true,", + " ])", + " ->setFinder($finder)", + ";", + "" + ], + "executable": false + } + }, + "ref": "16422bf8eac6c3be42afe07d37e2abc89d2bdf6b" + } + } +} diff --git a/index.json b/index.json index 5acacecf..275b9e1f 100644 --- a/index.json +++ b/index.json @@ -55,7 +55,9 @@ "crowdin-translation-provider": "symfony/crowdin-translation-provider", "crowdintranslationprovider": "symfony/crowdin-translation-provider", "cs-fixer": "friendsofphp/php-cs-fixer", + "cs-fixer-shim": "php-cs-fixer/shim", "csfixer": "friendsofphp/php-cs-fixer", + "csfixershim": "php-cs-fixer/shim", "css-selector": "symfony/css-selector", "cssselector": "symfony/css-selector", "debug": "symfony/debug-pack", @@ -228,7 +230,9 @@ "password-hasher": "symfony/password-hasher", "passwordhasher": "symfony/password-hasher", "php-cs-fixer": "friendsofphp/php-cs-fixer", + "php-cs-fixer-shim": "php-cs-fixer/shim", "phpcsfixer": "friendsofphp/php-cs-fixer", + "phpcsfixershim": "php-cs-fixer/shim", "phpunit": "symfony/test-pack", "phpunit-bridge": "symfony/phpunit-bridge", "phpunitbridge": "symfony/phpunit-bridge", @@ -474,6 +478,9 @@ "nyholm/psr7": [ "1.0" ], + "php-cs-fixer/shim": [ + "3.0" + ], "phpunit/phpunit": [ "4.7", "9.3" diff --git a/php-cs-fixer.shim.3.0.json b/php-cs-fixer.shim.3.0.json new file mode 100644 index 00000000..c65a7a06 --- /dev/null +++ b/php-cs-fixer.shim.3.0.json @@ -0,0 +1,37 @@ +{ + "manifests": { + "php-cs-fixer/shim": { + "manifest": { + "copy-from-recipe": { + ".php-cs-fixer.dist.php": ".php-cs-fixer.dist.php" + }, + "gitignore": [ + "/.php-cs-fixer.php", + "/.php-cs-fixer.cache" + ] + }, + "files": { + ".php-cs-fixer.dist.php": { + "contents": [ + "in(__DIR__)", + " ->exclude('var')", + ";", + "", + "return (new PhpCsFixer\\Config())", + " ->setRules([", + " '@Symfony' => true,", + " ])", + " ->setFinder($finder)", + ";", + "" + ], + "executable": false + } + }, + "ref": "16422bf8eac6c3be42afe07d37e2abc89d2bdf6b" + } + } +}