mirror of
https://github.com/nextcloud/server.git
synced 2025-01-01 09:52:41 +00:00
c1555fc33e
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
22 lines
509 B
PHP
22 lines
509 B
PHP
<?php
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2018 Robin Appelman <robin@icewind.nl>
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
$finder = PhpCsFixer\Finder::create()
|
|
->exclude('vendor')
|
|
->in(__DIR__)
|
|
;
|
|
return PhpCsFixer\Config::create()
|
|
->setRules([
|
|
'@PSR2' => true,
|
|
'array_syntax' => ['syntax' => 'short'],
|
|
'braces' => ['position_after_functions_and_oop_constructs' => 'same'],
|
|
'binary_operator_spaces' => ['align_double_arrow' => true, 'align_equals' => false],
|
|
])
|
|
->setIndent("\t")
|
|
->setFinder($finder)
|
|
;
|