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 b727948 commit edb5f32
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 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 @@
# Twig Module
[![Latest Stable Version](https://poser.pugx.org/spryker/twig/v/stable.svg)](https://packagist.org/packages/spryker/twig)
[![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/)

Twig is a container module for the Twig template framework dependencies. This module has a central role in managing Twig dependencies and supports better decoupling between modules.

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": "Twig module",
"license": "proprietary",
"require": {
"php": ">=8.0",
"php": ">=8.1",
"spryker/application-extension": "^1.0.0",
"spryker/container": "^1.1.0",
"spryker/event-dispatcher-extension": "^1.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class CacheWarmerConsole 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 @@ -38,7 +38,7 @@ class TwigNamespaceMigratorConsole extends Console
/**
* @return void
*/
protected function configure()
protected function configure(): void
{
$this
->setName(static::COMMAND_NAME)
Expand Down

0 comments on commit edb5f32

Please sign in to comment.