File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ function messyDeclaration(
118
118
?\MyNS /* comment */
119
119
\ SubCat // phpcs:ignore Standard.Cat.Sniff -- for reasons.
120
120
\ MyClass $ a ,
121
- $ b /* test */ = /* test */ 'default ' /* test */ ,
121
+ $ b /* comment */ = /* comment */ 'default ' /* comment */ ,
122
122
// phpcs:ignore Stnd.Cat.Sniff -- For reasons.
123
123
? /*comment*/
124
124
bool // phpcs:disable Stnd.Cat.Sniff -- For reasons.
Original file line number Diff line number Diff line change @@ -1226,8 +1226,8 @@ public function testMessyDeclaration()
1226
1226
$ expected [1 ] = [
1227
1227
'token ' => ($ php8Names === true ) ? 28 : 29 ,
1228
1228
'name ' => '$b ' ,
1229
- 'content ' => "\$b /* test */ = /* test */ 'default' /* test */ " ,
1230
- 'default ' => "'default' /* test */ " ,
1229
+ 'content ' => "\$b /* comment */ = /* comment */ 'default' /* comment */ " ,
1230
+ 'default ' => "'default' /* comment */ " ,
1231
1231
'default_token ' => ($ php8Names === true ) ? 36 : 37 ,
1232
1232
'default_equal_token ' => ($ php8Names === true ) ? 32 : 33 ,
1233
1233
'has_attributes ' => false ,
You can’t perform that action at this time.
0 commit comments