richard
/
cyca
Archived
1
0
Fork 0
This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues/pull-requests.
cyca/.php_cs

21 lines
840 B
Plaintext
Raw Permalink Normal View History

2022-01-12 00:35:37 +01:00
<?php
return PhpCsFixer\Config::create()
->setRules([
'@PhpCsFixer' => true,
'array_indentation' => true,
'array_syntax' => ['syntax' => 'short'],
'combine_consecutive_unsets' => true,
'method_separation' => true,
'no_multiline_whitespace_before_semicolons' => true,
'single_quote' => true,
'binary_operator_spaces' => [
'align_double_arrow' => true,
'align_equals' => true,
],
'declare_equal_normalize' => [
'space' => 'single',
],
'yoda_style' => ['equal' => false, 'identical' => false, 'less_and_greater' => false]
]);