Skip to content

Commit 135fb63

Browse files
authored
Update bootstrap.php
1 parent 64e2973 commit 135fb63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/bootstrap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
// Check phpcs is installed.
88
$phpcs_dir = dirname( __DIR__ ) . '/vendor/squizlabs/php_codesniffer';
9-
if ( ! file_exists($phpcs_dir)) {
10-
throw new Exception( 'Could not find PHP_CodeSniffer. Run `composer install --prefer-source --dev`' );
9+
if ( ! file_exists( $phpcs_dir ) ) {
10+
throw new Exception( 'Could not find PHP_CodeSniffer. Run `composer install --prefer-source`' );
1111
}
1212

1313
// Check phpcs' test framework is available.

0 commit comments

Comments
 (0)