1
0
mirror of https://github.com/AlexKrunch/AnonIB-3D.git synced 2024-09-30 15:55:26 -04:00
AnonIB-3D/ready2use/srv/php/Libs/torrent-rw/.php_cs.dist

37 lines
1.4 KiB
Plaintext
Raw Normal View History

2019-08-17 04:21:07 -04:00
<?php
$config = PhpCsFixer\Config::create()
->setUsingCache(false)
->setRules([
'@PSR2' => true,
'@Symfony' => true,
'no_whitespace_in_blank_line' => true,
'phpdoc_align' => true,
'phpdoc_indent' => true,
'phpdoc_scalar' => true,
'phpdoc_separation' => true,
'short_scalar_cast' => true,
'single_blank_line_before_namespace' => true,
'standardize_not_equals' => true,
'ternary_operator_spaces' => true,
'whitespace_after_comma_in_array' => true,
'concat_space' => ["spacing" => "one"],
'align_multiline_comment' => ['comment_type' => 'phpdocs_like'],
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => ['default' => 'align'],
'cast_spaces' => ['space' => 'single'],
'combine_consecutive_issets' => true,
'combine_consecutive_unsets' => true,
])
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__)
->exclude('vendor')
->exclude('node_modules')
->exclude('plugins')
->notPath('adminer.php')
)
;
return $config;