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 committed Nov 2, 2023
1 parent f882ffd commit 7abe9fc
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 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 @@
# Setup Module
[![Latest Stable Version](https://poser.pugx.org/spryker/setup/v/stable.svg)](https://packagist.org/packages/spryker/setup)
[![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/)

Setup is used to run the setup of Spryker during the installation process.

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": "Setup module",
"license": "proprietary",
"require": {
"php": ">=8.0",
"php": ">=8.1",
"spryker/cache": "^3.1.0",
"spryker/installer": "^4.0.0",
"spryker/kernel": "^3.30.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class DeployPreparePropelConsole extends Console
/**
* @return void
*/
protected function configure()
protected function configure(): void
{
$this->setName(static::COMMAND_NAME);
$this->setDescription(static::DESCRIPTION);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class InstallConsole extends Console
/**
* @return void
*/
protected function configure()
protected function configure(): void
{
$this->setName(static::COMMAND_NAME);
$this->setDescription(static::DESCRIPTION);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class JenkinsDisableConsole extends Console
/**
* @return void
*/
protected function configure()
protected function configure(): void
{
$this->setName(static::COMMAND_NAME);
$this->setDescription(static::DESCRIPTION);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class JenkinsEnableConsole extends Console
/**
* @return void
*/
protected function configure()
protected function configure(): void
{
$this->setName(static::COMMAND_NAME);
$this->setDescription(static::DESCRIPTION);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class JenkinsGenerateConsole extends Console
/**
* @return void
*/
protected function configure()
protected function configure(): void
{
$this->setName(static::COMMAND_NAME);
$this->setDescription(static::DESCRIPTION);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class RunnerConsole extends Console
/**
* @return void
*/
protected function configure()
protected function configure(): void
{
$this->setName(static::COMMAND_NAME);
$this->setDescription('This command will execute \'npm run\' with the specified task');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class RemoveGeneratedDirectoryConsole extends Console
/**
* @return void
*/
protected function configure()
protected function configure(): void
{
$this->setName(static::COMMAND_NAME);
$this->setDescription(static::DESCRIPTION);
Expand Down

0 comments on commit 7abe9fc

Please sign in to comment.