File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
51
51
-- Thanks to Matthew Peveler for the patch
52
52
- Fixed bug #2730 : PSR12.ControlStructures.ControlStructureSpacing does not ignore comments between conditions
53
53
-- Thanks to Juliette Reinders Folmer for the patch
54
+ - Fixed bug #2745 : AbstractArraySniff wrong indices when mixed coalesce and ternary values
55
+ -- Thanks to Michał Bundyra for the patch
54
56
- Fixed bug #2748 : Wrong end of statement for fn closures
55
57
-- Thanks to Michał Bundyra for the patch
56
58
- Fixed bug #2751 : Autoload relative paths first to avoid confusion with files from the global include path
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ public function testMissingKeysCoalesceTernary()
198
198
*/
199
199
public function testTernaryValues ()
200
200
{
201
- $ token = $ this ->getTargetToken ('/* testTernaryValues */ ' , T_ARRAY );
201
+ $ token = $ this ->getTargetToken ('/* testTernaryValues */ ' , T_OPEN_SHORT_ARRAY );
202
202
self ::$ sniff ->process (self ::$ phpcsFile , $ token );
203
203
204
204
$ expected = [
You can’t perform that action at this time.
0 commit comments