Skip to content

Commit

Permalink
Merge pull request #2462 from spryker/ruslan05-patch-1
Browse files Browse the repository at this point in the history
Bumped minimal php version from 8.0(end of life in 2023) to 8.1
  • Loading branch information
lenadoc committed Jan 31, 2024
2 parents 3d41546 + a3bd224 commit 7f7e3f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Access validation controls have been implemented to prevent administrators from

### How to get the fix

The update requires PHP 8 to be installed. If you are using PHP 7, see [PHP 8.0 as the minimum version for all Spryker projects](https://docs.spryker.com/docs/scos/user/intro-to-spryker/whats-new/php8-as-a-minimum-version-for-all-spryker-projects.html) for details on how to migrate to PHP 8.0.
The update requires PHP 8 to be installed. If you are using PHP 7, see [PHP 8.1 as the minimum version for all Spryker projects](https://docs.spryker.com/docs/scos/user/intro-to-spryker/whats-new/php8-as-a-minimum-version-for-all-spryker-projects.html) for details on how to migrate to PHP 8.1.

To implement a fix for this vulnerability, upgrade the `company-page` module to version 2.22.0:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
---
title: PHP 8.0 as the minimum version for all Spryker projects
description: End of November 2022, Spryker will release a new version of its Demo Shops requiring PHP 8.0 as the minimum version.
title: PHP 8.1 as the minimum version for all Spryker projects
description: End of November 2022, Spryker will release a new version of its Demo Shops requiring PHP 8.1 as the minimum version.
last_updated: November 22, 2022
template: concept-topic-template
---


End of November 2022, Spryker will release a new version of its Demo Shops, which will require PHP 8.0 as their minimum PHP version. PHP 7.4 will no longer be supported. Spryker's new module releases will only be compatible with PHP version 8.0 or later. See [Supported versions of PHP](/docs/scos/user/intro-to-spryker/whats-new/supported-versions-of-php.html) for details about the supported PHP versions.
End of November 2022, Spryker will release a new version of its Demo Shops, which will require PHP 8.1 as their minimum PHP version. PHP 8.0 will no longer be supported. Spryker's new module releases will only be compatible with PHP version 8.1 or later. See [Supported versions of PHP](/docs/scos/user/intro-to-spryker/whats-new/supported-versions-of-php.html) for details about the supported PHP versions.

## Impacts

Backwards compatibility remains unaffected. If your project followed our recommendations and requirements in the past twelve months, you will not experience any upgradability issues.

## Migration steps

To migrate your project to the 8.0 version of PHP, follow these steps:
To migrate your project to the 8.1 version of PHP, follow these steps:

1. Update your modules manually in `composer.json`.
Use the major lock `^` or the minor lock `~` if you have changes on the project level for respective module constraints.
Expand All @@ -33,7 +33,7 @@ spryker-sdk/spryk-gui => 0.2.2

2. Change the PHP version in `composer.json`:

`config.platform.php => 8.0.12`
`config.platform.php => 8.1.0`

3. Make sure there are no project-specific changes in the following repositories, and remove them from your `composer.json`:

Expand Down

0 comments on commit 7f7e3f1

Please sign in to comment.