Skip to content

Commit c772e6e

Browse files
Use dev-main in a couple more places
1 parent 7527f40 commit c772e6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Context/FeatureContext.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -973,14 +973,14 @@ public function composer_add_wp_cli_local_repository() {
973973
self::remove_dir( self::$composer_local_repository . '/vendor' );
974974
}
975975
$dest = self::$composer_local_repository . '/';
976-
$this->composer_command( "config repositories.wp-cli '{\"type\": \"path\", \"url\": \"$dest\", \"options\": {\"symlink\": false, \"versions\": { \"wp-cli/wp-cli\": \"dev-master\"}}}'" );
976+
$this->composer_command( "config repositories.wp-cli '{\"type\": \"path\", \"url\": \"$dest\", \"options\": {\"symlink\": false, \"versions\": { \"wp-cli/wp-cli\": \"dev-main\"}}}'" );
977977
$this->variables['COMPOSER_LOCAL_REPOSITORY'] = self::$composer_local_repository;
978978
}
979979

980980
public function composer_require_current_wp_cli() {
981981
$this->composer_add_wp_cli_local_repository();
982982
// TODO: Specific alias version should be deduced to keep up-to-date.
983-
$this->composer_command( 'require "wp-cli/wp-cli:dev-master as 2.5.x-dev" --optimize-autoloader' );
983+
$this->composer_command( 'require "wp-cli/wp-cli:dev-main as 2.5.x-dev" --optimize-autoloader' );
984984
}
985985

986986
public function start_php_server( $subdir = '' ) {

0 commit comments

Comments
 (0)