Skip to content

Commit 785372b

Browse files
committed
undo newline change
1 parent 530491f commit 785372b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Context/FeatureContext.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,7 +1444,7 @@ public function install_wp( $subdir = '' ): void {
14441444
$subdir = $this->replace_variables( $subdir );
14451445

14461446
// Disable WP Cron by default to avoid bogus HTTP requests in CLI context.
1447-
$config_extra_php = "if ( ! defined( 'DISABLE_WP_CRON' ) ) { define( 'DISABLE_WP_CRON', true ); }" . PHP_EOL;
1447+
$config_extra_php = "if ( ! defined( 'DISABLE_WP_CRON' ) ) { define( 'DISABLE_WP_CRON', true ); }\n";
14481448

14491449
if ( 'sqlite' !== self::$db_type ) {
14501450
$this->create_db();
@@ -1520,9 +1520,9 @@ public function install_wp_with_composer( $vendor_directory = 'vendor' ): void {
15201520
$this->composer_command( 'require johnpbloch/wordpress-core-installer johnpbloch/wordpress-core --optimize-autoloader' );
15211521

15221522
// Disable WP Cron by default to avoid bogus HTTP requests in CLI context.
1523-
$config_extra_php = "if ( ! defined( 'DISABLE_WP_CRON' ) ) { define( 'DISABLE_WP_CRON', true ); }" . PHP_EOL;
1523+
$config_extra_php = "if ( ! defined( 'DISABLE_WP_CRON' ) ) { define( 'DISABLE_WP_CRON', true ); }\n";
15241524

1525-
$config_extra_php .= "require_once dirname(__DIR__) . '/" . $vendor_directory . "/autoload.php';" . PHP_EOL;
1525+
$config_extra_php .= "require_once dirname(__DIR__) . '/" . $vendor_directory . "/autoload.php';\n";
15261526

15271527
$this->create_config( 'WordPress', $config_extra_php );
15281528

0 commit comments

Comments
 (0)