@@ -86,7 +86,9 @@ public static function dataImplementedInterface()
86
86
],
87
87
'class implements single interface, unqualified ' => [
88
88
'identifier ' => '/* testClassImplementsSingle */ ' ,
89
- 'expected ' => ['testFIINInterface ' ],
89
+ 'expected ' => [
90
+ 'testFIINInterface ' ,
91
+ ],
90
92
],
91
93
'class implements multiple interfaces ' => [
92
94
'identifier ' => '/* testClassImplementsMultiple */ ' ,
@@ -97,11 +99,15 @@ public static function dataImplementedInterface()
97
99
],
98
100
'class implements single interface, fully qualified ' => [
99
101
'identifier ' => '/* testImplementsFullyQualified */ ' ,
100
- 'expected ' => ['\PHP_CodeSniffer\Tests\Core\File\testFIINInterface ' ],
102
+ 'expected ' => [
103
+ '\PHP_CodeSniffer\Tests\Core\File\testFIINInterface ' ,
104
+ ],
101
105
],
102
106
'class implements single interface, partially qualified ' => [
103
107
'identifier ' => '/* testImplementsPartiallyQualified */ ' ,
104
- 'expected ' => ['Core\File\RelativeInterface ' ],
108
+ 'expected ' => [
109
+ 'Core\File\RelativeInterface ' ,
110
+ ],
105
111
],
106
112
'class extends and implements ' => [
107
113
'identifier ' => '/* testClassThatExtendsAndImplements */ ' ,
@@ -123,7 +129,9 @@ public static function dataImplementedInterface()
123
129
],
124
130
'enum implements single interface, unqualified ' => [
125
131
'identifier ' => '/* testEnumImplementsSingle */ ' ,
126
- 'expected ' => ['Colorful ' ],
132
+ 'expected ' => [
133
+ 'Colorful ' ,
134
+ ],
127
135
],
128
136
'enum implements multiple interfaces, unqualified + fully qualified ' => [
129
137
'identifier ' => '/* testBackedEnumImplementsMulti */ ' ,
@@ -134,7 +142,9 @@ public static function dataImplementedInterface()
134
142
],
135
143
'anon class implements single interface, unqualified ' => [
136
144
'identifier ' => '/* testAnonClassImplementsSingle */ ' ,
137
- 'expected ' => ['testFIINInterface ' ],
145
+ 'expected ' => [
146
+ 'testFIINInterface ' ,
147
+ ],
138
148
],
139
149
'parse error - implements keyword, but no interface name ' => [
140
150
'identifier ' => '/* testMissingImplementsName */ ' ,
0 commit comments