@@ -32,7 +32,7 @@ function _manually_load_plugin() {
3232 )
3333 );
3434
35- require dirname ( dirname ( __FILE__ ) ) . '/cron-control.php ' ;
35+ require_once dirname ( dirname ( __FILE__ ) ) . '/cron-control.php ' ;
3636
3737 // Plugin loads after `wp_install()` is called, so we compensate.
3838 if ( ! Cron_Control \Events_Store::is_installed () ) {
@@ -46,20 +46,20 @@ function _manually_load_plugin() {
4646require_once __DIR__ . '/utils.php ' ;
4747
4848// Start up the WP testing environment.
49- require $ _tests_dir . '/includes/bootstrap.php ' ;
49+ require_once $ _tests_dir . '/includes/bootstrap.php ' ;
5050
5151// Setup WP-CLI dependencies.
5252if ( ! defined ( 'WP_CLI_ROOT ' ) ) {
5353 define ( 'WP_CLI_ROOT ' , __DIR__ . '/../vendor/wp-cli/wp-cli ' );
5454}
5555
56- include WP_CLI_ROOT . '/php/utils.php ' ;
57- include WP_CLI_ROOT . '/php/dispatcher.php ' ;
58- include WP_CLI_ROOT . '/php/class-wp-cli.php ' ;
59- include WP_CLI_ROOT . '/php/class-wp-cli-command.php ' ;
56+ include_once WP_CLI_ROOT . '/php/utils.php ' ;
57+ include_once WP_CLI_ROOT . '/php/dispatcher.php ' ;
58+ include_once WP_CLI_ROOT . '/php/class-wp-cli.php ' ;
59+ include_once WP_CLI_ROOT . '/php/class-wp-cli-command.php ' ;
6060
6161\WP_CLI \Utils \load_dependencies ();
6262
6363// WP_CLI wasn't defined during plugin bootup, so bootstrap our cli classes manually
64- require dirname ( dirname ( __FILE__ ) ) . '/includes/wp-cli.php ' ;
64+ require_once dirname ( dirname ( __FILE__ ) ) . '/includes/wp-cli.php ' ;
6565Cron_Control \CLI \prepare_environment ();
0 commit comments