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 d0d3009 commit e43d709
Show file tree
Hide file tree
Showing 5 changed files with 7 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 @@
# Store Module
[![Latest Stable Version](https://poser.pugx.org/spryker/store/v/stable.svg)](https://packagist.org/packages/spryker/store)
[![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/)

Store contains store related functionality. It provides store related information on request. Store can deliver current store information, information for all stores and information for a store requested by id. For a store currencies and locales can be retrieved.

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": "Store module",
"license": "proprietary",
"require": {
"php": ">=8.0",
"php": ">=8.1",
"spryker/acl-merchant-portal-extension": "^1.0.0",
"spryker/application-extension": "^1.0.0",
"spryker/kernel": "^3.30.0",
Expand Down
1 change: 1 addition & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
parameters:
level: 8
checkMissingIterableValueType: true
checkGenericClassInNonGenericObjectType: false
ignoreErrors:
- '#Method Spryker\\Zed\\Store\\Communication\\Plugin\\MessageBroker\\StoreReferenceMessageValidatorPlugin::isValid\(\) should return bool but returns bool\|null.#'
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class StoreRelationToggleType extends AbstractType
*
* @return void
*/
public function buildForm(FormBuilderInterface $builder, array $options)
public function buildForm(FormBuilderInterface $builder, array $options): void
{
$this
->addFieldIdEntity($builder)
Expand All @@ -75,7 +75,7 @@ function (FormEvent $event) {
*
* @return void
*/
public function configureOptions(OptionsResolver $resolver)
public function configureOptions(OptionsResolver $resolver): void
{
parent::configureOptions($resolver);

Expand Down

0 comments on commit e43d709

Please sign in to comment.