mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
update php-cs-fixer (to support php 8.1)
This commit is contained in:
parent
b5e937ac1e
commit
3472897527
@ -9,10 +9,10 @@ $finder = PhpCsFixer\Finder::create()
|
||||
->files()->notName('config.inc.php')->notName('config.local.php')
|
||||
->in(__DIR__);
|
||||
|
||||
return PhpCsFixer\Config::create()
|
||||
return (new PhpCsFixer\Config())
|
||||
->setFinder($finder)
|
||||
->setRules(array(
|
||||
'@PSR2' => true,
|
||||
'@PSR12' => true,
|
||||
'braces' => array(
|
||||
'position_after_functions_and_oop_constructs' => 'same',
|
||||
),
|
@ -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-coveralls/php-coveralls" : "*",
|
||||
"php": ">7.0",
|
||||
|
Loading…
Reference in New Issue
Block a user