From 6e7870c724712fee253e53dea5779f0abce16656 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Sat, 20 Mar 2021 15:06:46 +0100 Subject: [PATCH] CS Fixer: Don't use the deprecated create method --- friendsofphp/php-cs-fixer/2.17/.php_cs.dist | 13 +++++++++++++ friendsofphp/php-cs-fixer/2.17/manifest.json | 10 ++++++++++ 2 files changed, 23 insertions(+) create mode 100644 friendsofphp/php-cs-fixer/2.17/.php_cs.dist create mode 100644 friendsofphp/php-cs-fixer/2.17/manifest.json diff --git a/friendsofphp/php-cs-fixer/2.17/.php_cs.dist b/friendsofphp/php-cs-fixer/2.17/.php_cs.dist new file mode 100644 index 00000000..3788194c --- /dev/null +++ b/friendsofphp/php-cs-fixer/2.17/.php_cs.dist @@ -0,0 +1,13 @@ +in(__DIR__) + ->exclude('var') +; + +return (new PhpCsFixer\Config()) + ->setRules([ + '@Symfony' => true, + ]) + ->setFinder($finder) +; diff --git a/friendsofphp/php-cs-fixer/2.17/manifest.json b/friendsofphp/php-cs-fixer/2.17/manifest.json new file mode 100644 index 00000000..56096a3a --- /dev/null +++ b/friendsofphp/php-cs-fixer/2.17/manifest.json @@ -0,0 +1,10 @@ +{ + "aliases": ["cs-fixer", "php-cs-fixer"], + "copy-from-recipe": { + ".php_cs.dist": ".php_cs.dist" + }, + "gitignore": [ + "/.php_cs", + "/.php_cs.cache" + ] +}