@@ -65,8 +65,8 @@ public function __construct()
6565 ],
6666 ],
6767 'blank_line_between_import_groups ' => true ,
68- 'cast_spaces ' => ['space ' => 'single ' ],
69- 'class_attributes_separation ' => [
68+ 'cast_spaces ' => ['space ' => 'single ' ],
69+ 'class_attributes_separation ' => [
7070 'elements ' => [
7171 'const ' => 'none ' ,
7272 'property ' => 'none ' ,
@@ -506,8 +506,10 @@ public function __construct()
506506 'single_line_comment_style ' => ['comment_types ' => ['asterisk ' , 'hash ' ]],
507507 'single_line_throw ' => false ,
508508 'single_quote ' => ['strings_containing_single_quote_chars ' => false ],
509- 'single_space_after_construct ' => [
510- 'constructs ' => [
509+ 'single_space_around_construct ' => [
510+ 'constructs_contain_a_single_space ' => ['yield_from ' ],
511+ 'constructs_preceded_by_a_single_space ' => ['use_lambda ' ],
512+ 'constructs_followed_by_a_single_space ' => [
511513 'abstract ' ,
512514 'as ' ,
513515 'attribute ' ,
@@ -524,6 +526,7 @@ public function __construct()
524526 'echo ' ,
525527 'else ' ,
526528 'elseif ' ,
529+ 'enum ' ,
527530 'extends ' ,
528531 'final ' ,
529532 'finally ' ,
@@ -542,6 +545,7 @@ public function __construct()
542545 'interface ' ,
543546 'match ' ,
544547 'named_argument ' ,
548+ 'namespace ' ,
545549 'new ' ,
546550 'open_tag_with_echo ' ,
547551 'php_doc ' ,
@@ -550,13 +554,16 @@ public function __construct()
550554 'private ' ,
551555 'protected ' ,
552556 'public ' ,
557+ 'readonly ' ,
553558 'require ' ,
554559 'require_once ' ,
555560 'return ' ,
556561 'static ' ,
562+ 'switch ' ,
557563 'throw ' ,
558564 'trait ' ,
559565 'try ' ,
566+ 'type_colon ' ,
560567 'use ' ,
561568 'use_lambda ' ,
562569 'use_trait ' ,
0 commit comments