Symfony 6.4 - Update friendsofphp/php-cs-fixer recipe

This commit is contained in:
Clemente Raposo 2024-01-03 16:17:29 +00:00
parent 9dc9bf508f
commit 5aa74514ca
3 changed files with 9 additions and 10 deletions

4
.gitignore vendored
View file

@ -22,8 +22,8 @@
###< ng serve ###
###> friendsofphp/php-cs-fixer ###
/.php_cs
/.php_cs.cache
/.php-cs-fixer.php
/.php-cs-fixer.cache
###< friendsofphp/php-cs-fixer ###
# Symfony Logs

View file

@ -1,14 +1,13 @@
<?php
$finder = PhpCsFixer\Finder::create()
$finder = (new PhpCsFixer\Finder())
->in(__DIR__)
->exclude('var')
;
return PhpCsFixer\Config::create()
return (new PhpCsFixer\Config())
->setRules([
'@Symfony' => true,
'array_syntax' => ['syntax' => 'short'],
])
->setFinder($finder)
;

View file

@ -255,15 +255,15 @@
"version": "0.5.0"
},
"friendsofphp/php-cs-fixer": {
"version": "2.2",
"version": "3.45",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "2.2",
"ref": "cc05ab6abf6894bddb9bbd6a252459010ebe040b"
"branch": "main",
"version": "3.0",
"ref": "be2103eb4a20942e28a6dd87736669b757132435"
},
"files": [
".php_cs.dist"
".php-cs-fixer.dist.php"
]
},
"fzaninotto/faker": {