You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: src/guides/v2.3/comp-mgr/cli/cli-upgrade.md
+39-11Lines changed: 39 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -41,12 +41,18 @@ Complete the following prerequisites to prepare your environment before starting
41
41
42
42
The plugin partially automates the manual upgrade by identifying and helping you resolve dependency conflicts instead of requiring you to identify and fix them manually.
43
43
44
-
To install the plugin:
44
+
To install the plugin when using PHP 7.2 or lower:
1. Indicate the Magento packages, both the edition (`community` or `enterprise`) and the version (`{{ page.guide_version }}.0`), that you want to upgrade to.
79
+
1. Run the appropriate `composer`command to upgrade your instance. The command has the following syntax:
74
80
75
-
{:.bs-callout-info}
76
-
The first time you upgrade using the plugin, you can interactively view and update any out-of-date values that may be remaining from previous versions.
77
-
To enable this, use the `--interactive-magento-conflicts` option on the `composer require` commands.
81
+
For PHP 7.2 or lower:
78
82
79
-
To override all conflicting custom values with the expected Magento values, re-run the `composer require`command with the `--use-default-magento-values` option.
`<product>` - (Required) The package to upgrade. For on-premise installations, this value must either `product-community-edition` or `product-enterprise-edition`.
96
+
97
+
`<version>` - (Required) The version of {{site.data.var.ce}} or {{site.data.var.ce}} you are upgrading to. For example, `2.3.7`.
98
+
99
+
`--interactive-root-conflicts` - (Optional) Allows you to interactively view and update any out-of-date values that may be remaining from previous versions.
100
+
101
+
`--force-root-updates` - (Optional) Overrides all conflicting custom values with the expected Magento values.
102
+
103
+
`--no-update` - (Optional) Disables the automatic update of the dependencies.
104
+
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.
80
106
81
107
{:.bs-callout-tip}
82
-
Use `composer require --help` to learn more about available options.
108
+
Use `composer require-commerce --help` to learn more about available options.
83
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).
Copy file name to clipboardExpand all lines: src/guides/v2.4/comp-mgr/cli/cli-upgrade.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ See the examples at the end of this section for help specifying different releas
85
85
86
86
`<product>` - (Required) The package to upgrade. For on-premise installations, this value must either `product-community-edition` or `product-enterprise-edition`.
87
87
88
-
`<version>` - (Required) The version of {{site.data.var.ce}} or {{site.data.var.ce}} you are upgrading to. For example, `2.4.4`.
88
+
`<version>` - (Required) The version of {{site.data.var.ce}} or {{site.data.var.ce}} you are upgrading to. For example, `2.4.3`.
89
89
90
90
`--interactive-root-conflicts` - (Optional) Allows you to interactively view and update any out-of-date values that may be remaining from previous versions.
91
91
@@ -104,13 +104,13 @@ See the examples at the end of this section for help specifying different releas
0 commit comments