diff --git a/composer.json b/composer.json index 54bb1b2..d03c714 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,8 @@ "allow-plugins": { "dealerdirect/phpcodesniffer-composer-installer": true, "johnpbloch/wordpress-core-installer": true - } + }, + "lock": false }, "extra": { "branch-alias": { diff --git a/src/PhpArrayGenerator.php b/src/PhpArrayGenerator.php index d76efc5..eadb4d2 100644 --- a/src/PhpArrayGenerator.php +++ b/src/PhpArrayGenerator.php @@ -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 ); }