Skip to content

Commit 5f368a7

Browse files
committed
Improve and assert CS
1 parent 6f7ae6d commit 5f368a7

5 files changed

Lines changed: 94 additions & 176 deletions

File tree

.php-cs-fixer.dist.php

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -58,43 +58,8 @@
5858
// also prevent bounding of unwanted variables for GC
5959
'use_arrow_functions' => false,
6060

61-
// TODO
62-
'align_multiline_comment' => false,
63-
'array_indentation' => false,
64-
'binary_operator_spaces' => false,
65-
'blank_line_after_opening_tag' => false,
66-
'blank_line_before_statement' => false,
67-
'concat_space' => false,
68-
'control_structure_continuation_position' => false,
61+
// disable too destructive formating for now
6962
'declare_strict_types' => false,
70-
'explicit_string_variable' => false,
71-
'function_declaration' => false,
72-
'function_to_constant' => false,
73-
'general_phpdoc_annotation_remove' => false,
74-
'include' => false,
75-
'list_syntax' => false,
76-
'method_argument_space' => false,
77-
'native_constant_invocation' => false,
78-
'new_with_parentheses' => false,
79-
'no_alias_functions' => false,
80-
'no_empty_phpdoc' => false,
81-
'no_spaces_after_function_name' => false,
82-
'no_superfluous_phpdoc_tags' => false,
83-
'ordered_imports' => false,
84-
'phpdoc_indent' => false,
85-
'phpdoc_no_alias_tag' => false,
86-
'phpdoc_no_package' => false,
87-
'phpdoc_separation' => false,
88-
'phpdoc_summary' => false,
89-
'single_line_empty_body' => false,
90-
'single_quote' => false,
91-
'single_space_around_construct' => false,
92-
'spaces_inside_parentheses' => false,
93-
'static_lambda' => false,
94-
'strict_comparison' => false,
95-
'strict_param' => false,
96-
'string_implicit_backslashes' => false,
97-
'yoda_style' => false,
9863
])
9964
->setFinder($finder)
10065
->setCacheFile(sys_get_temp_dir() . '/php-cs-fixer.' . md5(__DIR__) . '.cache');

0 commit comments

Comments
 (0)