Skip to content

Commit

Permalink
Merge pull request #182 from spryker-sdk/feature/frw-8773/updated-dep…
Browse files Browse the repository at this point in the history
…endencies

FRW-8773 Added PHP Unit 11 support.
  • Loading branch information
asmarovydlo authored Nov 7, 2024
2 parents 99fe2b6 + d89401d commit f5bcc14
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 14 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
fail-fast: false
matrix:
php-version: [
'8.1',
'8.2',
'8.3'
]
Expand Down Expand Up @@ -57,14 +56,10 @@ jobs:

- name: Run tests
run: |
if [[ ${{ matrix.php-version }} == '8.1' ]]; then
XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover coverage.xml
else
composer test
fi
- name: Code Coverage Report
if: success() && matrix.php-version == '8.1'
if: success() && matrix.php-version == '8.2'
uses: codecov/codecov-action@v1

- name: Composer require spryker-sdk/composer-prefer-lowest package
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![Build Status](https://github.com/spryker-sdk/integrator/workflows/CI/badge.svg?branch=master)](https://github.com/spryker-sdk/integrator/actions?query=workflow%3ACI+branch%3Amaster)
[![codecov](https://codecov.io/gh/spryker-sdk/integrator/branch/master/graph/badge.svg?token=l6Xj26Cqei)](https://codecov.io/gh/spryker-sdk/integrator)
[![Latest Stable Version](https://poser.pugx.org/spryker-sdk/integrator/v/stable.svg)](https://packagist.org/packages/spryker-sdk/integrator)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%208.1-8892BF.svg)](https://php.net/)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%208.2-8892BF.svg)](https://php.net/)
[![PHPStan](https://img.shields.io/badge/PHPStan-level%208-brightgreen.svg?style=flat)](https://phpstan.org/)

Auto-migrate applications in regard to new core releases using module manifests.
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Integrator module",
"license": "proprietary",
"require": {
"php": ">=8.1",
"php": ">=8.2",
"ext-dom": "*",
"ext-json": "*",
"ext-simplexml": "*",
Expand All @@ -14,7 +14,7 @@
"czproject/git-php": "^4.1",
"guzzlehttp/guzzle": "^7.4",
"nikic/php-parser": "^5.1.0",
"sebastian/diff": "^4.0.0",
"sebastian/diff": "^6.0.0",
"spryker-sdk/utils": "^0.2.2",
"symfony/console": "^6.0",
"symfony/finder": "^6.0",
Expand All @@ -23,7 +23,7 @@
"require-dev": {
"ext-zip": "*",
"phpstan/phpstan": "^1.0.0",
"phpunit/phpunit": "^9.5.0",
"phpunit/phpunit": "^11.4.0",
"spryker-sdk/manifest-test-data-provider": "dev-master",
"spryker/code-sniffer": "^0.17.19",
"symfony/filesystem": "^6.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected function setUp(): void
/**
* @return \Generator
*/
public function isApplicableDataProvider(): Generator
public static function isApplicableDataProvider(): Generator
{
yield [false, []];
yield [false, 12345];
Expand All @@ -57,7 +57,7 @@ public function testIsApplicable(bool $expRes, $value): void
/**
* @return \Generator
*/
public function getFormattedExpressionDataProvider(): Generator
public static function getFormattedExpressionDataProvider(): Generator
{
yield ['\' lorem ipsum\'', " lorem ipsum'''''''''''''''"];
yield ['\'lorem ipsum\'', 'lorem ipsum'];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function testNormalizeShouldSkipConfigCoppingWhenConditionFalse(
/**
* @return array<array<bool>>
*/
public function missedPhpConfigConditionsDataProvider(): array
public static function missedPhpConfigConditionsDataProvider(): array
{
return [
[false, true, false],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function testMapToModulesRatingResponseDtoShouldReturnExceptionWhenInvali
/**
* @return array<string, array<string>>
*/
public function invalidResponseDataProvider(): array
public static function invalidResponseDataProvider(): array
{
return [
'invalid_json' => ['{invalid json'],
Expand Down

0 comments on commit f5bcc14

Please sign in to comment.