Skip to content

Commit

Permalink
Fix style in PHP comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nylen committed May 9, 2017
1 parent 9e6b1ef commit 138eb69
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions phpunit/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
* @package Gutenberg
*/

// Determine the tests directory (from a WP dev checkout)
// Try the WP_TESTS_DIR environment variable first
// Determine the tests directory (from a WP dev checkout).
// Try the WP_TESTS_DIR environment variable first.
$_tests_dir = getenv( 'WP_TESTS_DIR' );
// See if we're installed inside an existing WP dev instance
// See if we're installed inside an existing WP dev instance.
if ( ! $_tests_dir ) {
$_try_tests_dir = __DIR__ . '/../../../../../tests/phpunit';
if ( file_exists( $_try_tests_dir . '/includes/functions.php' ) ) {
$_tests_dir = $_try_tests_dir;
}
}
// Fallback
// Fallback.
if ( ! $_tests_dir ) {
$_tests_dir = '/tmp/wordpress-tests-lib';
}
Expand Down

0 comments on commit 138eb69

Please sign in to comment.