Skip to content

Commit

Permalink
Merge branch 'main' into update-phpunit-config
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy authored Oct 1, 2024
2 parents 3cdb225 + d24a26a commit ea29381
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"johnpbloch/wordpress-core-installer": true
}
},
"lock": false
},
"extra": {
"branch-alias": {
Expand Down
1 change: 1 addition & 0 deletions src/PhpArrayGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ protected static function toArray( Translations $translations, $include_headers,
*/
private static function array_is_list( array $arr ) {
if ( function_exists( 'array_is_list' ) ) {
// phpcs:ignore PHPCompatibility.FunctionUse.NewFunctions.array_is_listFound
return array_is_list( $arr );
}

Expand Down

0 comments on commit ea29381

Please sign in to comment.