File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -416,15 +416,6 @@ public static function get_bin_path(): ?string {
416416 return $ bin_path ;
417417 }
418418
419- /**
420- * Whether the current OS is Windows.
421- *
422- * @return bool
423- */
424- private static function is_windows (): bool {
425- return strtoupper ( substr ( PHP_OS , 0 , 3 ) ) === 'WIN ' ;
426- }
427-
428419 /**
429420 * Get the environment variables required for launched `wp` processes.
430421 *
@@ -665,7 +656,7 @@ public static function prepare( BeforeSuiteScope $scope ): void {
665656 self ::$ mysql_binary = Utils \get_mysql_binary_path ();
666657
667658 // TODO: Improve Windows support upstream in Utils\get_mysql_binary_path().
668- if ( self :: is_windows () && ! self ::$ mysql_binary ) {
659+ if ( Utils \ is_windows () && ! self ::$ mysql_binary ) {
669660 self ::$ mysql_binary = 'mysql.exe ' ;
670661 }
671662
You can’t perform that action at this time.
0 commit comments