Skip to content

Commit 26f7868

Browse files
Drop Composer from the installation script
It should be pre-installed
1 parent 1f85567 commit 26f7868

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

bin/install-package-tests.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ install_wp_cli() {
2626
download_behat() {
2727

2828
cd $PACKAGE_DIR
29-
download https://getcomposer.org/installer installer
30-
php installer
31-
php composer.phar require --dev behat/behat='~2.5'
29+
composer require --dev behat/behat='~2.5'
3230

3331
}
3432

inc/ScaffoldPackageCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ public function package_readme( $args, $assoc_args ) {
423423
* The `features/bootstrap/FeatureContext.php` file expects the
424424
* WP_CLI_BIN_DIR environment variable.
425425
*
426-
* WP-CLI Behat framework uses Behat ~2.5.
426+
* WP-CLI Behat framework uses Behat ~2.5, which is installed with Composer.
427427
*
428428
* ## OPTIONS
429429
*

0 commit comments

Comments
 (0)