Skip to content

Commit

Permalink
Merge pull request #21 from rollout/features/sdk5
Browse files Browse the repository at this point in the history
SDK5
  • Loading branch information
AsafRollout authored Oct 27, 2021
2 parents 1b3a5f8 + 04561c7 commit 477db77
Show file tree
Hide file tree
Showing 96 changed files with 4,890 additions and 2,025 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fail-fast: false
matrix:
operating-system: [ubuntu-latest, windows-latest, macOS-latest]
php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4']
php-versions: ['7.3', '7.4', '8.0']

name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}

Expand All @@ -36,13 +36,8 @@ jobs:
- name: Validate composer.json and composer.lock
run: composer validate

# TODO: remove the following step once Mockery releases backport of https://github.com/mockery/mockery/pull/980 to v0.9.XX
- name: PHP v7.4 workaround
run: composer require --dev hamcrest/hamcrest-php:2.0 mockery/mockery:1.3.1 --ignore-platform-reqs

# TODO: remove --ignore-platform-reqs once Mockery releases backport of https://github.com/mockery/mockery/pull/980 to v0.9.XX
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest --ignore-platform-reqs
run: composer install --prefer-dist --no-progress --no-suggest

- name: Run test suite
run: composer test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Please see the detailed instructions in our docs how to [add Rollout to your pro

## Requirements

PHP 5.6 or later.
PHP 7.3 or later.

The following extensions should be enabled in php.ini:

Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,25 @@
},
"config": {
"platform": {
"php": "5.6"
"php": "7.3"
}
},
"minimum-stability": "stable",
"require": {
"php": ">=5.5",
"php": ">=7.3",
"ext-json": "*",
"ext-openssl": "*",
"guzzlehttp/guzzle": "^6.4",
"guzzlehttp/guzzle": "^6.4|^7.3.0",
"psr/http-message": "^1.0",
"psr/log": "^1.1",
"ramsey/uuid": "^3.9",
"ramsey/uuid": "^3.9|^4.1.1",
"monolog/monolog": "^1.25|^2",
"kevinrob/guzzle-cache-middleware": "^3.2",
"doctrine/cache": "^1.6"
},
"require-dev": {
"phpunit/phpunit": "^5.7.10",
"mockery/mockery": "^1.3.1",
"phpunit/phpunit": "^9.5",
"mockery/mockery": "^1.4",
"hamcrest/hamcrest-php": "^2.0"
},
"scripts": {
Expand Down
Loading

0 comments on commit 477db77

Please sign in to comment.