Issue #3458945: Add symfony/polyfill-php84 and make use of new array functions
3 open threads
Closes #3458945
Merge request reports
Activity
136 123 if (!is_array($array)) { 137 124 return FALSE; 138 125 } 139 $i = 0; 140 141 foreach (array_keys($array) as $key) { 142 if ($i !== $key) { 143 return FALSE; 144 } 145 $i++; 146 } 147 return TRUE; 126 return array_is_list($array); changed this line in version 2 of the diff
199 foreach ($args as $key) { 200 if (!array_key_exists($key, $member)) { 201 return FALSE; 202 } 203 } 204 } 205 return TRUE; 206 } 207 return FALSE; 176 return static::assertAll( 177 fn ($member) => array_all( 178 $args, 179 fn ($key) => array_key_exists($key, $member), 180 ), 181 $traversable, 182 ); added 15 commits
Toggle commit listadded 500 commits
-
2c073612...2b63c15d - 492 commits from branch
project:11.x
- 4ec81a8e - Add symfony/polyfill-php84
- 1ee0605b - Modernise
- 48c00802 - Remaining functions
- 7618ef0d - Simplify assertAllNotEmpty
- 31be933b - Simplify assertStringArray
- ef8fceb0 - phpcs
- f4362f37 - Add dependency to Assertion composer
- 7ec80d19 - polyfill are top-level functions
Toggle commit list-
2c073612...2b63c15d - 492 commits from branch
534 534 - vendor/bin/drush config:inspect --statistics > HEAD.json 535 535 # Return to the MR commit being tested, conditionally install updates, always rebuild the container. 536 536 - git checkout -f $CI_COMMIT_SHA 537 # Composer-install Drush & the Config Inspector module again to prevent autoloading issues. 538 - composer require drush/drush drupal/config_inspector || exit 100
Please register or sign in to reply