mirror of
https://github.com/symfony/recipes.git
synced 2026-03-23 23:32:10 +01:00
CS Fixer: Don't use the deprecated create method
This commit is contained in:
13
friendsofphp/php-cs-fixer/2.17/.php_cs.dist
Normal file
13
friendsofphp/php-cs-fixer/2.17/.php_cs.dist
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
$finder = (new PhpCsFixer\Finder())
|
||||
->in(__DIR__)
|
||||
->exclude('var')
|
||||
;
|
||||
|
||||
return (new PhpCsFixer\Config())
|
||||
->setRules([
|
||||
'@Symfony' => true,
|
||||
])
|
||||
->setFinder($finder)
|
||||
;
|
||||
10
friendsofphp/php-cs-fixer/2.17/manifest.json
Normal file
10
friendsofphp/php-cs-fixer/2.17/manifest.json
Normal file
@@ -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"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user