Skip to content

Commit

Permalink
Remove support for PHP 7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyparker committed Oct 24, 2023
1 parent a514446 commit 72b55d0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/php_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
php: [7.3, 7.4, 8.0, 8.1, 8.2]
php: [7.4, 8.0, 8.1, 8.2]

steps:
- name: Checkout
Expand All @@ -34,3 +34,15 @@ jobs:

- name: PHP tests
run: ./vendor/bin/phpunit --process-isolation tests

- name: Composer install example
working-directory: example
run: composer install

- name: Inject dummy example config
working-directory: example
run: printf "[duo]\nclient_id=DIAAAAAAAAAAAAAAAAAA\nclient_secret=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\napi_hostname=example.duosecurity.com\nredirect_uri=http://localhost:8080\nfailmode=closed\n" > ./duo.conf

- name: Ensure example runs
working-directory: example
run: php index.php
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ What's included:
* `tests` - Test cases

## Getting started
This library requires PHP 7.3 or later
This library requires PHP 7.4 or later

To use SDK in your existing developing environment, install it from Packagist
```
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
},
"require": {
"php": ">=7.3",
"php": ">=7.4",
"ext-curl": "*",
"ext-json": "*",
"firebase/php-jwt": "^6.0"
Expand Down

0 comments on commit 72b55d0

Please sign in to comment.