Skip to content

Commit 3682328

Browse files
committed
Fix
1 parent 508b043 commit 3682328

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/behat-tags.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ function extension_tags( $features_folder = 'features' ) {
130130
$feature_files = glob( $features_folder . DIRECTORY_SEPARATOR . '*.feature' );
131131
if ( ! empty( $feature_files ) ) {
132132
foreach ( $feature_files as $feature_file ) {
133-
$contents = (string) get_contents( $feature_file );
133+
$contents = (string) file_get_contents( $feature_file );
134134
if ( preg_match_all( '/@require-extension-[A-Za-z_]*/', $contents, $matches ) ) {
135135
$extension_tags = array_merge( $extension_tags, $matches[0] );
136136
}

0 commit comments

Comments
 (0)