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(
118118 ?\MyNS /* comment */
119119 \ SubCat // phpcs:ignore Standard.Cat.Sniff -- for reasons.
120120 \ MyClass $ a ,
121- $ b /* test */ = /* test */ 'default ' /* test */ ,
121+ $ b /* comment */ = /* comment */ 'default ' /* comment */ ,
122122 // phpcs:ignore Stnd.Cat.Sniff -- For reasons.
123123 ? /*comment*/
124124 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()
12261226 $ expected [1 ] = [
12271227 'token ' => ($ php8Names === true ) ? 28 : 29 ,
12281228 'name ' => '$b ' ,
1229- 'content ' => "\$b /* test */ = /* test */ 'default' /* test */ " ,
1230- 'default ' => "'default' /* test */ " ,
1229+ 'content ' => "\$b /* comment */ = /* comment */ 'default' /* comment */ " ,
1230+ 'default ' => "'default' /* comment */ " ,
12311231 'default_token ' => ($ php8Names === true ) ? 36 : 37 ,
12321232 'default_equal_token ' => ($ php8Names === true ) ? 32 : 33 ,
12331233 'has_attributes ' => false ,
You can’t perform that action at this time.
0 commit comments