From 72b55d06f519fa2ed76f07076ea1d4ceb08df508 Mon Sep 17 00:00:00 2001 From: Jeffrey Parker Date: Tue, 17 Oct 2023 09:52:44 -0400 Subject: [PATCH] Remove support for PHP 7.3 --- .github/workflows/php_ci.yml | 14 +++++++++++++- README.md | 2 +- composer.json | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/php_ci.yml b/.github/workflows/php_ci.yml index 5d0ca54..7641938 100644 --- a/.github/workflows/php_ci.yml +++ b/.github/workflows/php_ci.yml @@ -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 @@ -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 diff --git a/README.md b/README.md index 067ac95..6223505 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/composer.json b/composer.json index 9cd0734..b5e76bb 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ } }, "require": { - "php": ">=7.3", + "php": ">=7.4", "ext-curl": "*", "ext-json": "*", "firebase/php-jwt": "^6.0"