Skip to content

Commit 6efac7d

Browse files
Drop PHP 7.1
1 parent 3af5245 commit 6efac7d

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,13 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
php: [7.1, 7.2, 7.3, 7.4]
17-
httplug: [1, 2]
16+
php: [7.2, 7.3, 7.4]
1817

19-
name: PHP ${{ matrix.php }}; HTTPlug ${{ matrix.httplug }}
18+
name: PHP ${{ matrix.php }}
2019

2120
steps:
2221
- uses: actions/checkout@v2
23-
- name: Pull Docker Image
24-
run: docker pull registry.gitlab.com/grahamcampbell/php:${{ matrix.php }}
25-
- name: Select HTTPlug
26-
run: docker run --rm -w /data -v ${{ github.workspace }}:/data --entrypoint composer registry.gitlab.com/grahamcampbell/php:${{ matrix.php }} require "php-http/httplug:^${{ matrix.httplug }}" --no-update -n
2722
- name: Run Composer
28-
run: docker run --rm -w /data -v ${{ github.workspace }}:/data --entrypoint composer registry.gitlab.com/grahamcampbell/php:${{ matrix.php }} install --prefer-dist -n -o
23+
run: docker run --rm -w /data -v ${{ github.workspace }}:/data --entrypoint composer registry.gitlab.com/grahamcampbell/php:${{ matrix.php }}-base install --prefer-dist -n -o
2924
- name: Run PHPUnit
30-
run: docker run --rm -w /data -v ${{ github.workspace }}:/data --entrypoint vendor/bin/phpunit registry.gitlab.com/grahamcampbell/php:${{ matrix.php }}
25+
run: docker run --rm -w /data -v ${{ github.workspace }}:/data --entrypoint vendor/bin/phpunit registry.gitlab.com/grahamcampbell/php:${{ matrix.php }}-cli

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This is strongly based on [php-github-api](https://github.com/KnpLabs/php-github
2121

2222
## Installation
2323

24-
This version requires [PHP](https://php.net) 7.1-7.4.
24+
This version requires [PHP](https://php.net) 7.2-7.4.
2525

2626
To get the latest version, simply require the project using [Composer](https://getcomposer.org). You will need to install any package that "provides" `php-http/client-implementation`. Most users will want:
2727

0 commit comments

Comments
 (0)