1010
1111final class Config extends PhpCsFixerConfig
1212{
13- const APP_V1 = 'APP_V1 ' ;
14- const APP_V2 = 'APP_V2 ' ;
15- const LIB = 'LIB ' ;
13+ public const APP_V1 = 'APP_V1 ' ;
14+ public const APP_V2 = 'APP_V2 ' ;
15+ public const LIB = 'LIB ' ;
1616
1717 public function __construct (string $ type = self ::APP_V2 , array $ overriddenRules = [])
1818 {
@@ -36,12 +36,12 @@ public function __construct(string $type = self::APP_V2, array $overriddenRules
3636 ]);
3737
3838 $ rules = [
39+ '@Symfony ' => true ,
40+ '@Symfony:risky ' => true ,
3941 '@DoctrineAnnotation ' => true ,
4042 '@PHP71Migration ' => true ,
4143 '@PHP71Migration:risky ' => true ,
42- '@PHPUnit60Migration:risky ' => true ,
43- '@Symfony ' => true ,
44- '@Symfony:risky ' => true ,
44+ '@PHPUnit75Migration:risky ' => true ,
4545 'Slam/final_abstract_public ' => self ::APP_V1 !== $ type ,
4646 'Slam/final_internal_class ' => self ::APP_V1 !== $ type ,
4747 'Slam/function_reference_space ' => true ,
@@ -110,7 +110,6 @@ public function __construct(string $type = self::APP_V2, array $overriddenRules
110110 'ordered_class_elements ' => ['order ' => ['use_trait ' , 'constant_public ' , 'constant_protected ' , 'constant_private ' , 'property ' , 'construct ' , 'destruct ' , 'magic ' , 'phpunit ' , 'method ' ]],
111111 'ordered_imports ' => true ,
112112 'ordered_interfaces ' => true ,
113- 'php_unit_dedicate_assert_internal_type ' => true ,
114113 'php_unit_internal_class ' => false ,
115114 'php_unit_method_casing ' => true ,
116115 'php_unit_ordered_covers ' => true ,
0 commit comments