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

Update 0aac9b81-7db9-4a7e-87f8-35c2ac6efe1d.md #348

Merged
merged 2 commits into from
Oct 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions 202108.0/0aac9b81-7db9-4a7e-87f8-35c2ac6efe1d.md
Original file line number Diff line number Diff line change
@@ -66,7 +66,7 @@ If you need to update at the module level, you might want to extract individual

### Spryker feature structure
If you have started with the Spryker features, you should see something like this in your *composer.json*:
```PHP
```JSON
"ext-readline": "*",
"ext-redis": "*",
"spryker-eco/loggly": "^0.1.0",
@@ -80,7 +80,7 @@ If you have started with the Spryker features, you should see something like thi
Every Spryker feature is nothing more than a standalone module with a *composer.json* file that contains a list of individual Spryker modules as dependencies. A feature contains no functional code; the entire code is kept in modules.
Let's take the `spryker-feature/agent-assist` feature from the example above and check [its composer.json file](https://github.com/spryker-feature/product-sets/blob/master/composer.json):

```PHP
```JSON
{
"name": "spryker-feature/product-sets",
"description": "Product Sets [feature]",
@@ -240,10 +240,11 @@ Make sure you use the integration guide for the feature version you need. To sel

Keep in mind, that if the selected feature version is newer than that of the installed features, you need to replace the feature with its modules in your composer.json. For example, `spryker-feature/gift-cards":"^201907.0"`
should be replaced with

`"spryker-shop/cart-code-widget": "^1.0.0",
"spryker-shop/gift-card-widget": "^1.1.0",`
`...`
```JSON
"spryker-shop/cart-code-widget": "^1.0.0",
"spryker-shop/gift-card-widget": "^1.1.0",`
...
```

:::(Info) (Info)
A new feature might require a higher major version for a specific module. In this case, do a [single module update](#major).
@@ -261,10 +262,11 @@ In some projects, all Spryker sniffs might be included automatically.

To exclude / include sniff rules, adjust the following section in `ruleset.xml` file:

```PHP
<rule ref=“vendor/spryker/code-sniffer/Spryker/Sniffs”>
<exclude name=“vendor/spryker/code-sniffer/Spryker/Sniffs/Factory/NoPrivateMethodsSniff.php”/>
....
```XML
<rule ref="vendor/spryker/code-sniffer/Spryker/ruleset.xml">
<exclude name="Spryker.Factory.NoPrivateMethods"/>
...
</rule>
```

### Update is not possible
@@ -323,4 +325,4 @@ Reach us out at:
* **Contribute to documentation**: if you found an issue in a migration guide or some parts of it are missing - you can suggest a change by clicking **Edit or Report** right below the article title.

## Reference
Check out the [How to migrate and update Spryker projects video](https://training.spryker.com/pages/spryker-tv?wchannelid=papy2tx2f6&wmediaid=kitd5w26zq) for more details on the topic.
Check out the [How to migrate and update Spryker projects video](https://training.spryker.com/pages/spryker-tv?wchannelid=papy2tx2f6&wmediaid=kitd5w26zq) for more details on the topic.