Unverified Commit 045129b7 authored by Nathan Van Overloop's avatar Nathan Van Overloop
Browse files

centralnic/issues#4052: adapt with new list

parent 325b5820
.php_cs.dist
.php_cs.cache
{"php":"7.4.6","version":"2.16.1","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces":true,"class_definition":true,"constant_case":{"case":"lower"},"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"method_argument_space":{"on_multiline":"ensure_fully_multiline"},"no_break_comment":true,"no_closing_tag":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":true,"encoding":true,"full_opening_tag":true,"declare_equal_normalize":{"space":"single"},"array_syntax":{"syntax":"long"},"object_operator_without_whitespace":true,"binary_operator_spaces":true,"no_alternative_syntax":true,"php_unit_method_casing":{"case":"camel_case"},"class_attributes_separation":{"elements":["method"]},"no_blank_lines_after_phpdoc":true,"phpdoc_indent":true,"phpdoc_align":{"align":"vertical"}},"hashes":{"bin\/build.php":137893529,"bin\/icann-reservedNames-to-text.php":1798961049}}
\ No newline at end of file
<?php
$finder = PhpCsFixer\Finder::create()
->exclude('tests')
->in(__DIR__)
;
return PhpCsFixer\Config::create()
->setRules([
'@PSR2' => true,
'declare_equal_normalize' => ['space' => 'single'],
'array_syntax' => ['syntax' => 'long'],
'object_operator_without_whitespace' => true,
'binary_operator_spaces' => true,
'no_alternative_syntax' => true,
'braces' => true,
'php_unit_method_casing' => ['case' => 'camel_case'],
'class_attributes_separation' => ['elements' => ['method']],
'no_blank_lines_after_phpdoc' => true,
'no_trailing_whitespace' => true,
'constant_case' => ['case' => 'lower'],
'phpdoc_indent' => true,
'phpdoc_align' => ['align' => 'vertical'],
])
->setFinder($finder)
;
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment