@@ -17,7 +17,6 @@ class ValidVariableNameSniffTest extends TestCase
17
17
public const CODE_NOT_CAMEL_CAPS = 'NotCamelCaps ' ;
18
18
public const CODE_MEMBER_NOT_CAMEL_CAPS = 'MemberNotCamelCaps ' ;
19
19
public const CODE_PUBLIC_HAS_UNDERSCORE = 'PublicHasUnderscore ' ;
20
- public const CODE_PRIVATE_NO_UNDERSCORE = 'PrivateNoUnderscore ' ;
21
20
public const CODE_STRING_NOT_CAMEL_CAPS = 'StringNotCamelCaps ' ;
22
21
23
22
public function testErrors (): void
@@ -34,7 +33,6 @@ public function testErrors(): void
34
33
20 => self ::CODE_MEMBER_NOT_CAMEL_CAPS ,
35
34
22 => self ::CODE_PUBLIC_HAS_UNDERSCORE ,
36
35
25 => self ::CODE_MEMBER_NOT_CAMEL_CAPS ,
37
- 27 => self ::CODE_PRIVATE_NO_UNDERSCORE ,
38
36
31 => self ::CODE_NOT_CAMEL_CAPS ,
39
37
33 => self ::CODE_NOT_CAMEL_CAPS ,
40
38
36 => self ::CODE_STRING_NOT_CAMEL_CAPS ,
@@ -52,10 +50,6 @@ public function testErrors(): void
52
50
106 => self ::CODE_PUBLIC_HAS_UNDERSCORE ,
53
51
107 => self ::CODE_PUBLIC_HAS_UNDERSCORE ,
54
52
108 => self ::CODE_PUBLIC_HAS_UNDERSCORE ,
55
- 111 => self ::CODE_PRIVATE_NO_UNDERSCORE ,
56
- 112 => self ::CODE_PRIVATE_NO_UNDERSCORE ,
57
- 113 => self ::CODE_PRIVATE_NO_UNDERSCORE ,
58
- 114 => self ::CODE_PRIVATE_NO_UNDERSCORE ,
59
53
123 => self ::CODE_PUBLIC_HAS_UNDERSCORE ,
60
54
138 => self ::CODE_NOT_CAMEL_CAPS ,
61
55
141 => self ::CODE_NOT_CAMEL_CAPS ,
@@ -79,6 +73,6 @@ public function testErrors(): void
79
73
}
80
74
}
81
75
82
- self ::assertSame (38 , $ file ->getErrorCount ());
76
+ self ::assertSame (33 , $ file ->getErrorCount ());
83
77
}
84
78
}
0 commit comments