mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-20 03:36:20 +02:00
20 lines
485 B
PHP
20 lines
485 B
PHP
<?php
|
|
|
|
$finder = PhpCsFixer\Finder::create()
|
|
->exclude('smarty')
|
|
->exclude('vendor')
|
|
->exclude('templates')
|
|
->exclude('templates_c')
|
|
->exclude('debian')
|
|
->files()->notName('config.inc.php')->notName('config.local.php')
|
|
->in(__DIR__);
|
|
|
|
return PhpCsFixer\Config::create()
|
|
->setFinder($finder)
|
|
->setRules(array(
|
|
'@PSR2' => true,
|
|
'braces' => array(
|
|
'position_after_functions_and_oop_constructs' => 'same',
|
|
),
|
|
));
|