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">
5151 -- Thanks to Matthew Peveler for the patch
5252 - Fixed bug #2730 : PSR12.ControlStructures.ControlStructureSpacing does not ignore comments between conditions
5353 -- 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
5456 - Fixed bug #2748 : Wrong end of statement for fn closures
5557 -- Thanks to Michał Bundyra for the patch
5658 - 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()
198198 */
199199 public function testTernaryValues ()
200200 {
201- $ token = $ this ->getTargetToken ('/* testTernaryValues */ ' , T_ARRAY );
201+ $ token = $ this ->getTargetToken ('/* testTernaryValues */ ' , T_OPEN_SHORT_ARRAY );
202202 self ::$ sniff ->process (self ::$ phpcsFile , $ token );
203203
204204 $ expected = [
You can’t perform that action at this time.
0 commit comments