Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit c95a842

Browse files
committed
Developer comments
1 parent 72a32b6 commit c95a842

File tree

2 files changed

+23
-17
lines changed

2 files changed

+23
-17
lines changed

src/guides/v2.3/comp-mgr/cli/cli-upgrade.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ Complete the following prerequisites to prepare your environment before starting
4343

4444
To install the plugin when using PHP 7.2 or lower:
4545

46+
{:.bs-callout-info}
47+
This plugin is not compatible with PHP 7.2 or lower and Composer 2.1.6 or higher
48+
4649
```bash
4750
composer require magento/composer-root-update-plugin=~1.0 --no-update
4851
```
@@ -81,13 +84,13 @@ See the examples at the end of this section for help specifying different releas
8184
For PHP 7.2 or lower:
8285

8386
```bash
84-
composer require magento/<product.version> [--interactive-root-conflicts] [--force-root-updates] [--no update]
87+
composer require magento/<product>.<version> [--interactive-magento-conflicts] [--use-default-magento-values] --no-update [--help]
8588
```
8689

8790
For 7.3 or higher:
8891

8992
```bash
90-
composer require-commerce magento/<product.version> [--interactive-root-conflicts] [--force-root-updates] [--no update]
93+
composer require-commerce magento/<product>.<version> [--interactive-magento-conflicts] [--use-default-magento-values] --no-update [--help]
9194
```
9295

9396
where:
@@ -96,17 +99,20 @@ See the examples at the end of this section for help specifying different releas
9699

97100
`<version>` - (Required) The version of {{site.data.var.ce}} or {{site.data.var.ce}} you are upgrading to. For example, `2.3.7`.
98101

99-
`--interactive-root-conflicts` - (Optional) Allows you to interactively view and update any out-of-date values that may be remaining from previous versions.
102+
`--interactive-magento-conflicts` - (Optional) Allows you to interactively view and update any out-of-date values that may be remaining from previous versions.
103+
104+
`--use-default-magento-values` - (Optional) Overrides all conflicting custom values with the expected Magento values.
105+
106+
`--no-update` - (Required) Disables the automatic update of the dependencies.
100107

101-
`--force-root-updates` - (Optional) Overrides all conflicting custom values with the expected Magento values.
108+
`--help` - (Optional) Provides usage details about the plugin.
102109

103-
`--no-update` - (Optional) Disables the automatic update of the dependencies.
110+
If neither `--interactive-magento-conflicts` nor `--use-default-magento-values` are specified, the command keeps the existing values that are in conflict and displays a warning message.
104111

105-
If neither `--interactive-root-conflicts` nor `--force-root-updates` are specified, the command keeps the existing values that are in conflict and displays a warning message.
112+
To learn more about the plugin, refer to one of the following Plugin Usage README files:
106113

107-
{:.bs-callout-tip}
108-
Use `composer require-commerce --help` to learn more about available options.
109-
To learn more about usage of the plugin, refer to the [Plugin Usage](https://github.com/magento/composer-root-update-plugin/blob/0.1/src/Magento/ComposerRootUpdatePlugin/README.md#usage).
114+
- [PHP 7.3 or higher](https://github.com/magento/composer-root-update-plugin/blob/develop/src/Magento/ComposerRootUpdatePlugin/README.md)
115+
- [PHP 7.2 or lower](https://github.com/magento/composer-root-update-plugin/blob/0.1/src/Magento/ComposerRootUpdatePlugin/README.md)
110116

111117
**Examples:**
112118

src/guides/v2.4/comp-mgr/cli/cli-upgrade.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Do not use this method to upgrade if you cloned the Magento 2 GitHub repository.
2121
The following instructions show you how to upgrade Magento using Composer. Magento 2.4.2 introduced support for Composer 2. If you are attempting to upgrade from Magento <2.4.1, you must first upgrade to a version of Magento that is compatible with Composer 2 (for example, 2.4.2) using Composer 1 _before_ upgrading to Composer 2 for Magento >2.4.2 upgrades. In addition, you must be running a [supported version]({{page.baseurl}}/install-gde/system-requirements.html) of PHP.
2222

2323
{:.bs-callout-warning}
24-
The procedure for upgrading {{site.data.var.ce}} and {{site.data.var.ee}} has changed. You must install a new version of the Composer update plugin. In addition, the commands for upgrading have changed from `composer require magento/<package_name>` to `composer require-commerce magento/<package_name>`.
24+
The procedure for upgrading {{site.data.var.ce}} and {{site.data.var.ee}} has changed. You must install a new version of the `magento/composer-root-update-plugin` package. In addition, the commands for upgrading have changed from `composer require magento/<package_name>` to `composer require-commerce magento/<package_name>`.
2525

2626
## Before you begin {#prerequisites}
2727

@@ -78,26 +78,26 @@ See the examples at the end of this section for help specifying different releas
7878
1. Run the `composer require-commerce` command to upgrade your instance. The command has the following syntax:
7979

8080
```bash
81-
composer require-commerce magento/<product.version> [--interactive-root-conflicts] [--force-root-updates] [--no update]
81+
composer require-commerce magento/<product>.<version> [--interactive-root-conflicts] [--force-root-updates] --no update [--help]
8282
```
8383

8484
where:
8585

86-
`<product>` - (Required) The package to upgrade. For on-premise installations, this value must either `product-community-edition` or `product-enterprise-edition`.
86+
`<product>` - (Required) The package to upgrade. For on-premise installations, this value must be either `product-community-edition` or `product-enterprise-edition`.
8787

8888
`<version>` - (Required) The version of {{site.data.var.ce}} or {{site.data.var.ce}} you are upgrading to. For example, `2.4.3`.
8989

90-
`--interactive-root-conflicts` - (Optional) Allows you to interactively view and update any out-of-date values that may be remaining from previous versions.
90+
`--interactive-root-conflicts` - (Optional) Allows you to interactively view and update any out-of-date values that may be remaining from previous versions, or any customized values that do not match the version you are upgrading to.
9191

9292
`--force-root-updates` - (Optional) Overrides all conflicting custom values with the expected Magento values.
9393

94-
`--no-update` - (Optional) Disables the automatic update of the dependencies.
94+
`--no-update` - (Required) Disables the automatic update of the dependencies.
95+
96+
`--help` - (Optional) Provides usage details about the plugin.
9597

9698
If neither `--interactive-root-conflicts` nor `--force-root-updates` are specified, the command keeps the existing values that are in conflict and displays a warning message.
9799

98-
{:.bs-callout-tip}
99-
Use `composer require-commerce --help` to learn more about available options.
100-
To learn more about usage of the plugin, refer to the [Plugin Usage](https://github.com/magento/composer-root-update-plugin/blob/0.1/src/Magento/ComposerRootUpdatePlugin/README.md#usage).
100+
To learn more about the plugin, refer to the [Plugin Usage README](https://github.com/magento/composer-root-update-plugin/blob/develop/src/Magento/ComposerRootUpdatePlugin/README.md).
101101

102102
**Examples:**
103103

0 commit comments

Comments
 (0)