File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 "psr/log" : " ^1.1"
1414 },
1515 "require-dev" : {
16- "kint-php/kint" : " ^5.0.1 " ,
16+ "kint-php/kint" : " ^5.0.3 " ,
1717 "codeigniter/coding-standard" : " ^1.5" ,
1818 "fakerphp/faker" : " ^1.9" ,
1919 "friendsofphp/php-cs-fixer" : " 3.13.0" ,
Original file line number Diff line number Diff line change 1313 "psr/log" : " ^1.1"
1414 },
1515 "require-dev" : {
16- "kint-php/kint" : " ^5.0.1 " ,
16+ "kint-php/kint" : " ^5.0.3 " ,
1717 "codeigniter/coding-standard" : " ^1.5" ,
1818 "fakerphp/faker" : " ^1.9" ,
1919 "friendsofphp/php-cs-fixer" : " 3.13.0" ,
Original file line number Diff line number Diff line change @@ -118,7 +118,9 @@ public static function composerGetExtras(string $key = 'kint'): array
118118 continue ;
119119 }
120120
121- foreach ($ packages as $ package ) {
121+ // Composer 2.0 Compatibility: packages are now wrapped into a "packages" top level key instead of the whole file being the package array
122+ // @see https://getcomposer.org/upgrade/UPGRADE-2.0.md
123+ foreach ($ packages ['packages ' ] ?? $ packages as $ package ) {
122124 if (isset ($ package ['extra ' ][$ key ]) && \is_array ($ package ['extra ' ][$ key ])) {
123125 $ extras = \array_replace ($ extras , $ package ['extra ' ][$ key ]);
124126 }
You can’t perform that action at this time.
0 commit comments