@@ -41,7 +41,7 @@ class CsFixerConfig extends Config implements CsFixerConfigInterface
4141 */
4242 protected static $ typo3Rules = [
4343 '@DoctrineAnnotation ' => true ,
44- '@PER ' => true ,
44+ '@PSR2 ' => true ,
4545 'array_syntax ' => ['syntax ' => 'short ' ],
4646 'blank_line_after_opening_tag ' => true ,
4747 'braces ' => ['allow_single_line_closure ' => true ],
@@ -68,11 +68,10 @@ class CsFixerConfig extends Config implements CsFixerConfigInterface
6868 'no_short_bool_cast ' => true ,
6969 'no_singleline_whitespace_before_semicolons ' => true ,
7070 'no_superfluous_elseif ' => true ,
71- 'no_trailing_comma_in_singleline ' => true ,
71+ 'no_trailing_comma_in_singleline_array ' => true ,
7272 'no_unneeded_control_parentheses ' => true ,
7373 'no_unused_imports ' => true ,
7474 'no_useless_else ' => true ,
75- 'no_useless_nullsafe_operator ' => true ,
7675 'no_whitespace_in_blank_line ' => true ,
7776 'ordered_imports ' => true ,
7877 'php_unit_construct ' => ['assertions ' => ['assertEquals ' , 'assertSame ' , 'assertNotEquals ' , 'assertNotSame ' ]],
@@ -90,7 +89,7 @@ class CsFixerConfig extends Config implements CsFixerConfigInterface
9089 'single_line_comment_style ' => ['comment_types ' => ['hash ' ]],
9190 'single_trait_insert_per_statement ' => true ,
9291 'trailing_comma_in_multiline ' => ['elements ' => ['arrays ' ]],
93- 'whitespace_after_comma_in_array ' => [ ' ensure_single_space ' => true ] ,
92+ 'whitespace_after_comma_in_array ' => true ,
9493 'yoda_style ' => ['equal ' => false , 'identical ' => false , 'less_and_greater ' => false ],
9594 ];
9695
0 commit comments