Skip to content

Commit f03f0b4

Browse files
committed
PHP 5.6 compat
1 parent fca6e56 commit f03f0b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/generate-coverage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
$package_folder = realpath( dirname( __DIR__ ) );
1616

1717
// If installed as a dependency in `<somedir>/vendor/wp-cli/wp-cli-tests, this is <somedir>.
18-
$root_folder = realpath( dirname( __DIR__, 4 ) );
18+
$root_folder = realpath( dirname( dirname( dirname( dirname( __DIR__ ) ) ) ) );
1919

2020
if ( file_exists( $package_folder . '/vendor/autoload.php' ) ) {
2121
$root_folder = $package_folder;

0 commit comments

Comments
 (0)