diff --git a/friendsofphp/php-cs-fixer/3.39/.php-cs-fixer.dist.php b/friendsofphp/php-cs-fixer/3.39/.php-cs-fixer.dist.php new file mode 100644 index 00000000..1c883f00 --- /dev/null +++ b/friendsofphp/php-cs-fixer/3.39/.php-cs-fixer.dist.php @@ -0,0 +1,17 @@ +in(__DIR__) + ->exclude('var') + ->notPath([ + 'config/bundles.php', + 'config/reference.php', + ]) +; + +return (new PhpCsFixer\Config()) + ->setRules([ + '@Symfony' => true, + ]) + ->setFinder($finder) +; diff --git a/friendsofphp/php-cs-fixer/3.39/manifest.json b/friendsofphp/php-cs-fixer/3.39/manifest.json new file mode 100644 index 00000000..b24240a7 --- /dev/null +++ b/friendsofphp/php-cs-fixer/3.39/manifest.json @@ -0,0 +1,10 @@ +{ + "aliases": ["cs-fixer", "php-cs-fixer"], + "copy-from-recipe": { + ".php-cs-fixer.dist.php": ".php-cs-fixer.dist.php" + }, + "gitignore": [ + "/.php-cs-fixer.php", + "/.php-cs-fixer.cache" + ] +} diff --git a/php-cs-fixer/shim/3.0/.php-cs-fixer.dist.php b/php-cs-fixer/shim/3.0/.php-cs-fixer.dist.php index 3788194c..1c883f00 100644 --- a/php-cs-fixer/shim/3.0/.php-cs-fixer.dist.php +++ b/php-cs-fixer/shim/3.0/.php-cs-fixer.dist.php @@ -3,6 +3,10 @@ $finder = (new PhpCsFixer\Finder()) ->in(__DIR__) ->exclude('var') + ->notPath([ + 'config/bundles.php', + 'config/reference.php', + ]) ; return (new PhpCsFixer\Config())