Skip to content

Commit

Permalink
FRW-998 Switched PHP version from 8.0 to 8.1 by default, enabled supp…
Browse files Browse the repository at this point in the history
…ort of PHP 8.2. (#2417)

FRW-998 Dropped PHP 8.0 and added PHP 8.2 support.
  • Loading branch information
asmarovydlo authored Nov 2, 2023
1 parent a9a8e78 commit 073c1a7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '8.2'
extensions: mbstring, intl, bcmath
coverage: none

Expand All @@ -41,7 +41,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '8.1'
extensions: mbstring, intl, bcmath
coverage: none

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# StorageRouter Module
[![Latest Stable Version](https://poser.pugx.org/spryker-shop/storage-router/v/stable.svg)](https://packagist.org/packages/spryker-shop/storage-router)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%208.0-8892BF.svg)](https://php.net/)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%208.1-8892BF.svg)](https://php.net/)

This module is capable of using the storage as router.

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "StorageRouter module",
"license": "proprietary",
"require": {
"php": ">=8.0",
"php": ">=8.1",
"spryker-shop/storage-router-extension": "^1.0.0",
"spryker/kernel": "^3.30.0",
"spryker/router-extension": "^1.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function __construct(StorageRouterToUrlStorageClientInterface $urlStorage
*
* @return void
*/
public function setContext(RequestContext $context)
public function setContext(RequestContext $context): void
{
$this->context = $context;
}
Expand Down

0 comments on commit 073c1a7

Please sign in to comment.