Skip to content

Commit

Permalink
Use dev-main in a couple more places
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbachhuber authored Nov 18, 2022
1 parent 7527f40 commit c772e6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Context/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -973,14 +973,14 @@ public function composer_add_wp_cli_local_repository() {
self::remove_dir( self::$composer_local_repository . '/vendor' );
}
$dest = self::$composer_local_repository . '/';
$this->composer_command( "config repositories.wp-cli '{\"type\": \"path\", \"url\": \"$dest\", \"options\": {\"symlink\": false, \"versions\": { \"wp-cli/wp-cli\": \"dev-master\"}}}'" );
$this->composer_command( "config repositories.wp-cli '{\"type\": \"path\", \"url\": \"$dest\", \"options\": {\"symlink\": false, \"versions\": { \"wp-cli/wp-cli\": \"dev-main\"}}}'" );
$this->variables['COMPOSER_LOCAL_REPOSITORY'] = self::$composer_local_repository;
}

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

public function start_php_server( $subdir = '' ) {
Expand Down

0 comments on commit c772e6e

Please sign in to comment.