Skip to content

Commit

Permalink
Merge pull request #412 from wp-cli/lint-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy authored Oct 1, 2024
2 parents f4b1d39 + 4476a67 commit 0181392
Showing 1 changed file with 1 addition and 0 deletions.
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 0181392

Please sign in to comment.