mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
* merging 3.0 into develop * N°5102 - Allow to send emails (eg. notifications) using GSuite SMTP and OAuth * migration to iTop 3.1 Co-authored-by: Eric Espie <eric.espie@combodo.com>
24 lines
645 B
PHP
24 lines
645 B
PHP
<?php
|
|
|
|
$config = PhpCsFixer\Config::create()
|
|
->setRiskyAllowed(true)
|
|
->setRules([
|
|
'@PSR2' => true,
|
|
'array_syntax' => ['syntax' => 'short'],
|
|
'declare_strict_types' => false,
|
|
'concat_space' => ['spacing'=>'one'],
|
|
'php_unit_test_case_static_method_calls' => ['call_type' => 'self'],
|
|
'ordered_imports' => true,
|
|
// 'phpdoc_align' => ['align'=>'vertical'],
|
|
// 'native_function_invocation' => true,
|
|
])
|
|
->setFinder(
|
|
PhpCsFixer\Finder::create()
|
|
->in(__DIR__.'/src')
|
|
->in(__DIR__.'/tests')
|
|
->name('*.php')
|
|
)
|
|
;
|
|
|
|
return $config;
|