Skip to content

Commit

Permalink
Build support for PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
allebb committed Jan 16, 2022
1 parent 3b43b1f commit fb93953
Show file tree
Hide file tree
Showing 3 changed files with 121 additions and 114 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: [ '7.3', '7.4', '8.0' ]
php-versions: [ '7.3', '7.4', '8.0', '8.1' ]

steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ A RaspberryPi GPIO library written in PHP, This library makes it a breeze to wor

* PHP >= 7.3.0

This library is unit tested against PHP 7.3, 7.4 and 8.0!
This library is unit tested against PHP 7.3, 7.4, 8.0 and 8.1!

If you need to use an older version of PHP, you should instead install the 1.x version of this library (see below for details).

Expand Down Expand Up @@ -70,7 +70,7 @@ Tests and coverage

This library is fully unit tested using [PHPUnit](https://phpunit.de/).

I use [GitHub Actions](https://github.com/) for continuous integration, which triggers tests for PHP 7.3, 7.4 and 8.0 every time a commit is pushed.
I use [GitHub Actions](https://github.com/) for continuous integration, which triggers tests for PHP 7.3, 7.4, 8.0 and 8.1 every time a commit is pushed.

If you wish to run the tests yourself you should run the following:

Expand Down
Loading

0 comments on commit fb93953

Please sign in to comment.