forked from pkp/pkp-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs_rules
26 lines (25 loc) · 849 Bytes
/
.php_cs_rules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
return [
'@PSR12' => true,
'array_indentation' => true,
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => true,
'concat_space' => ['spacing' => 'one'],
'explicit_string_variable' => true,
'list_syntax' => ['syntax' => 'short'],
'method_chaining_indentation' => true,
'no_unused_imports' => true,
'no_spaces_around_offset' => true,
'no_superfluous_phpdoc_tags' => true,
'no_whitespace_before_comma_in_array' => true,
'ordered_imports' => ['sortAlgorithm' => 'alpha'],
'phpdoc_add_missing_param_annotation' => true,
'phpdoc_no_empty_return' => true,
'phpdoc_order' => true,
'phpdoc_separation' => true,
'phpdoc_var_annotation_correct_order' => true,
'single_quote' => true,
'standardize_increment' => true,
'standardize_not_equals' => true,
'ternary_to_null_coalescing' => true,
];