Skip to content

Commit

Permalink
Improve and assert CS
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Apr 10, 2024
1 parent 6f7ae6d commit 5f368a7
Show file tree
Hide file tree
Showing 5 changed files with 94 additions and 176 deletions.
37 changes: 1 addition & 36 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,43 +58,8 @@
// also prevent bounding of unwanted variables for GC
'use_arrow_functions' => false,

// TODO
'align_multiline_comment' => false,
'array_indentation' => false,
'binary_operator_spaces' => false,
'blank_line_after_opening_tag' => false,
'blank_line_before_statement' => false,
'concat_space' => false,
'control_structure_continuation_position' => false,
// disable too destructive formating for now
'declare_strict_types' => false,
'explicit_string_variable' => false,
'function_declaration' => false,
'function_to_constant' => false,
'general_phpdoc_annotation_remove' => false,
'include' => false,
'list_syntax' => false,
'method_argument_space' => false,
'native_constant_invocation' => false,
'new_with_parentheses' => false,
'no_alias_functions' => false,
'no_empty_phpdoc' => false,
'no_spaces_after_function_name' => false,
'no_superfluous_phpdoc_tags' => false,
'ordered_imports' => false,
'phpdoc_indent' => false,
'phpdoc_no_alias_tag' => false,
'phpdoc_no_package' => false,
'phpdoc_separation' => false,
'phpdoc_summary' => false,
'single_line_empty_body' => false,
'single_quote' => false,
'single_space_around_construct' => false,
'spaces_inside_parentheses' => false,
'static_lambda' => false,
'strict_comparison' => false,
'strict_param' => false,
'string_implicit_backslashes' => false,
'yoda_style' => false,
])
->setFinder($finder)
->setCacheFile(sys_get_temp_dir() . '/php-cs-fixer.' . md5(__DIR__) . '.cache');
Loading

0 comments on commit 5f368a7

Please sign in to comment.