Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bumped minimal php version from 8.0(end of life in 2023) to 8.1 #2462

Merged
merged 3 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
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
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
Loading