0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00
postfixadmin/.php-cs-fixer.dist.php

23 lines
649 B
PHP
Raw Normal View History

<?php
$finder = PhpCsFixer\Finder::create()
2018-05-02 13:54:17 +02:00
->exclude('lib')
->exclude('vendor')
->exclude('templates')
->exclude('templates_c')
->exclude('debian')
2018-01-25 22:02:11 +01:00
->files()->notName('config.inc.php')->notName('config.local.php')
->in(__DIR__);
2021-09-29 22:10:22 +02:00
$config = new PhpCsFixer\Config();
return $config
->setFinder($finder)
->setRules(array(
2022-06-28 14:46:11 +02:00
'@PSR12' => true,
'method_argument_space' => false, # don't break formatting in initStruct()
'no_spaces_inside_parenthesis' => false, # don't break formatting in initStruct()
));
/* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4 ft=php: */