Skip to content

Commit

Permalink
Merge pull request #942
Browse files Browse the repository at this point in the history
  • Loading branch information
symfony-flex-server[bot] committed May 6, 2021
2 parents f0b0abb + 783b2ec commit 5764cb6
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 0 deletions.
14 changes: 14 additions & 0 deletions friendsofphp/php-cs-fixer/2.19/.php-cs-fixer.dist.php
@@ -0,0 +1,14 @@
<?php

$finder = (new PhpCsFixer\Finder())
->in(__DIR__)
->exclude('var')
;

return (new PhpCsFixer\Config())
->setRules([
'@Symfony' => true,
])
->setFinder($finder)
->setCacheFile('.php-cs-fixer.cache') // forward compatibility with 3.x line
;
10 changes: 10 additions & 0 deletions friendsofphp/php-cs-fixer/2.19/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"
]
}
13 changes: 13 additions & 0 deletions friendsofphp/php-cs-fixer/3.0/.php-cs-fixer.dist.php
@@ -0,0 +1,13 @@
<?php

$finder = (new PhpCsFixer\Finder())
->in(__DIR__)
->exclude('var')
;

return (new PhpCsFixer\Config())
->setRules([
'@Symfony' => true,
])
->setFinder($finder)
;
10 changes: 10 additions & 0 deletions friendsofphp/php-cs-fixer/3.0/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"
]
}

0 comments on commit 5764cb6

Please sign in to comment.