Skip to content

Commit 1d0f30f

Browse files
authored
update rules (#254)
1 parent b2103d4 commit 1d0f30f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.php-cs-fixer.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
'blank_line_before_statement' => true,
2121
'cast_spaces' => true,
2222
'declare_strict_types' => true,
23-
'function_typehint_space' => true,
23+
'type_declaration_spaces' => true,
2424
'include' => true,
2525
'lowercase_cast' => true,
26-
'new_with_braces' => true,
26+
'new_with_parentheses' => true,
2727
'no_extra_blank_lines' => true,
2828
'no_leading_import_slash' => true,
2929
'echo_tag_syntax' => true,
@@ -34,7 +34,7 @@
3434
'phpdoc_scalar' => true,
3535
'phpdoc_types' => true,
3636
'short_scalar_cast' => true,
37-
'single_blank_line_before_namespace' => true,
37+
'blank_lines_before_namespace' => true,
3838
'single_quote' => true,
3939
'trailing_comma_in_multiline' => true,
4040
])

0 commit comments

Comments
 (0)