@@ -24,14 +24,15 @@ final class Blitz extends AbstractRuleset
2424{
2525 public function __construct ()
2626 {
27- $ this ->name = 'Blitz PHP Coding Standards ' ;
27+ $ this ->name = 'BlitzPHP Coding Standards ' ;
2828
2929 $ this ->rules = [
3030 'align_multiline_comment ' => ['comment_type ' => 'phpdocs_only ' ],
3131 'array_indentation ' => true ,
3232 'array_push ' => true ,
3333 'array_syntax ' => ['syntax ' => 'short ' ],
3434 'assign_null_coalescing_to_coalesce_equal ' => true ,
35+ 'attribute_empty_parentheses ' => false ,
3536 'backtick_to_shell_exec ' => true ,
3637 'binary_operator_spaces ' => [
3738 'default ' => 'single_space ' ,
@@ -156,7 +157,7 @@ public function __construct()
156157 'fopen_flag_order ' => true ,
157158 'fopen_flags ' => ['b_mode ' => true ],
158159 'full_opening_tag ' => true ,
159- 'fully_qualified_strict_types ' => true ,
160+ 'fully_qualified_strict_types ' => [ ' leading_backslash_in_global_namespace ' => false ] ,
160161 'function_declaration ' => [
161162 'closure_function_spacing ' => 'one ' ,
162163 'closure_fn_spacing ' => 'one ' ,
@@ -218,6 +219,7 @@ public function __construct()
218219 'after_heredoc ' => false ,
219220 'keep_multiple_spaces_after_comma ' => false ,
220221 'on_multiline ' => 'ensure_fully_multiline ' ,
222+ 'attribute_placement ' => 'standalone ' ,
221223 ],
222224 'method_chaining_indentation ' => true ,
223225 'modernize_strpos ' => version_compare (PHP_VERSION , '8.0.0 ' , '>= ' ), // requires 8.0+,
@@ -451,8 +453,9 @@ public function __construct()
451453 'uses ' ,
452454 ],
453455 ],
454- 'phpdoc_param_order ' => false ,
455- 'phpdoc_return_self_reference ' => [
456+ 'phpdoc_param_order ' => false ,
457+ 'phpdoc_readonly_class_comment_to_keyword ' => false ,
458+ 'phpdoc_return_self_reference ' => [
456459 'replacements ' => [
457460 'this ' => '$this ' ,
458461 '@this ' => '$this ' ,
0 commit comments