mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 09:14:06 +02:00
new flake setup
This commit is contained in:
parent
8af8d79df9
commit
9fe44e475a
5 changed files with 4643 additions and 40 deletions
|
|
@ -5,19 +5,17 @@
|
|||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
$finder = PhpCsFixer\Finder::create()
|
||||
->exclude('vendor')
|
||||
->in(__DIR__)
|
||||
;
|
||||
$finder = PhpCsFixer\Finder::create()->in(__DIR__);
|
||||
|
||||
return (new PhpCsFixer\Config())
|
||||
->setRules([
|
||||
'@PSR2' => true,
|
||||
'@PSR2' => true,
|
||||
'curly_braces_position' => [
|
||||
'classes_opening_brace' => 'same_line',
|
||||
'classes_opening_brace' => 'same_line',
|
||||
'functions_opening_brace' => 'same_line',
|
||||
],
|
||||
'array_syntax' => ['syntax' => 'short'],
|
||||
'braces' => ['position_after_functions_and_oop_constructs' => 'same'],
|
||||
'array_syntax' => ['syntax' => 'short'],
|
||||
'braces' => ['position_after_functions_and_oop_constructs' => 'same'],
|
||||
'binary_operator_spaces' => ['operators' => ['=>' => 'align_single_space']],
|
||||
])
|
||||
->setIndent("\t")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue