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. (#10577)

FRW-998 Dropped PHP 8.0 and added PHP 8.2 support.
  • Loading branch information
asmarovydlo authored Nov 2, 2023
1 parent 103ae41 commit 13e11fc
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 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 @@
# Application Module
[![Latest Stable Version](https://poser.pugx.org/spryker/application/v/stable.svg)](https://packagist.org/packages/spryker/application)
[![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/)

Application registers all ServiceProviders for bootstrapping the system

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": "Application module",
"license": "proprietary",
"require": {
"php": ">=8.0",
"php": ">=8.1",
"spryker/application-extension": "^1.1.0",
"spryker/config": "^3.0.0",
"spryker/container": "^1.4.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function __construct(Pimple $app, ?LoggerInterface $logger = null)
*
* @return void
*/
public function setContext(RequestContext $context)
public function setContext(RequestContext $context): void
{
$this->context = $context;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Spryker/Shared/Application/Routing/AbstractRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function __construct(Application $app, $sslEnabled = null)
*
* @return void
*/
public function setContext(RequestContext $context)
public function setContext(RequestContext $context): void
{
$this->context = $context;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function __construct(Application $app)
*
* @return void
*/
public function setContext(RequestContext $context)
public function setContext(RequestContext $context): void
{
$this->context = $context;
}
Expand Down

0 comments on commit 13e11fc

Please sign in to comment.