mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
update to php-cs-fixer v3
This commit is contained in:
parent
0d08ac418a
commit
49b408ec90
@ -9,7 +9,9 @@ $finder = PhpCsFixer\Finder::create()
|
||||
->files()->notName('config.inc.php')->notName('config.local.php')
|
||||
->in(__DIR__);
|
||||
|
||||
return PhpCsFixer\Config::create()
|
||||
$config = new PhpCsFixer\Config();
|
||||
|
||||
return $config
|
||||
->setFinder($finder)
|
||||
->setRules(array(
|
||||
'@PSR2' => true,
|
@ -24,7 +24,7 @@
|
||||
"require-dev": {
|
||||
"ext-mysqli": "*",
|
||||
"ext-sqlite3": "*",
|
||||
"friendsofphp/php-cs-fixer": "^2.19",
|
||||
"friendsofphp/php-cs-fixer": "^3.0",
|
||||
"php-parallel-lint/php-parallel-lint": "^1.0",
|
||||
"php": ">7.2.0",
|
||||
"php-coveralls/php-coveralls": "*",
|
||||
|
Loading…
Reference in New Issue
Block a user