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

Commit 974a7cd

Browse files
committed
Update Composer.json examples
1 parent 2121bd7 commit 974a7cd

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

src/guides/v2.3/extension-dev-guide/build/composer-integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Here is the example of composer.json file.
3535
"AFL-3.0"
3636
],
3737
"require": {
38-
"php": "~7.1.3||~7.2.0||~7.3.0"
38+
"php": "~7.2.0||~7.3.0"
3939
},
4040
"autoload": {
4141
"files": [ "registration.php" ],

src/guides/v2.3/extension-dev-guide/build/create_component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Refer to [Module version dependencies]({{ page.baseurl }}/extension-dev-guide/ve
5151
"name": "your-name/module-Acme",
5252
"description": "Test component for Magento 2",
5353
"require": {
54-
"php": "~7.1.3||~7.2.0",
54+
"php": "~7.2.0||~7.3.0",
5555
"magento/module-store": "102.1",
5656
"magento/module-catalog": "102.1",
5757
"magento/module-catalog-inventory": "102.1",

src/guides/v2.3/extension-dev-guide/package/package_module.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The following example is a `composer.json` for a metapackage:
4949
"version": "2.0.0",
5050
"type": "metapackage",
5151
"require": {
52-
"php": "~7.1.3|~7.2.0",
52+
"php": "~7.2.0||~7.3.0",
5353
"zendframework/zend-stdlib": "~2.4.6",
5454
"zendframework/zend-code": "~2.4.6",
5555
"zendframework/zend-server": "~2.4.6",
@@ -99,7 +99,7 @@ The following example is a `composer.json` file for a module:
9999
"AFL-3.0"
100100
],
101101
"require": {
102-
"php": "~7.1.3|~7.2.0",
102+
"php": "~7.2.0||~7.3.0",
103103
"magento/framework": "~100.0.4"
104104
},
105105
"autoload": {

src/guides/v2.3/frontend-dev-guide/themes/theme-create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Example of a theme `composer.json` file:
9999
"sort-packages": true
100100
},
101101
"require": {
102-
"php": "~7.1.3||~7.2.0",
102+
"php": "~7.2.0||~7.3.0",
103103
"magento/framework": "*",
104104
"magento/theme-frontend-blank": "*"
105105
},

src/guides/v2.3/get-started/create-integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ To develop a module, you must:
9292
"name": "Vendor1_Module1",
9393
"description": "create integration from config",
9494
"require": {
95-
"php": "~7.1.3|~7.2.0|~7.3.0",
95+
"php": "~7.2.0|~7.3.0",
9696
"magento/framework": "2.0.0",
9797
"magento/module-integration": "2.0.0"
9898
},

src/guides/v2.3/howdoi/checkout/checkout-add-custom-carrier.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ ComponentRegistrar::register(
4747
"name": "vendor/custom-shipping",
4848
"description": "Custom shipping module",
4949
"require": {
50-
"php": "~7.1.3||~7.2.0",
50+
"php": "~7.2.0||~7.3.0",
5151
"magento/framework": "102.0.*",
5252
"magento/module-backend": "101.0.*",
5353
"magento/module-catalog": "103.0.*",

src/guides/v2.4/extension-dev-guide/build/create_component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Refer to [Module version dependencies]({{ page.baseurl }}/extension-dev-guide/ve
4646
"name": "your-name/module-Acme",
4747
"description": "Test component for Magento 2",
4848
"require": {
49-
"php": "~7.1.3||~7.2.0",
49+
"php": "~7.3.0||~7.4.0",
5050
"magento/module-store": "102.1",
5151
"magento/module-catalog": "102.1",
5252
"magento/module-catalog-inventory": "102.1",

0 commit comments

Comments
 (0)