Welcome to mirror list, hosted at ThFree Co, Russian Federation.

.php_cs.dist - github.com/nextcloud/groupfolders.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a43a381079936a8e210157d031987f3c4395f5af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

$finder = PhpCsFixer\Finder::create()
	->exclude('3rdparty')
	->exclude('composer')
	->exclude('3rdparty')
	->exclude('build')
	->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' => false, 'align_equals' => false],
		'align_multiline_comment' => ['comment_type' => 'all_multiline'],
		'method_argument_space' => ['ensure_fully_multiline' => true]
	])
	->setIndent("\t")
	->setFinder($finder);