From 13bb15256c01efc8edee35286ea3422c7efc1cc2 Mon Sep 17 00:00:00 2001 From: Michael Babker Date: Sun, 12 Feb 2023 13:27:57 -0500 Subject: [PATCH] Bump requirements --- .github/workflows/run-tests.yml | 11 ++++------- UPGRADE-2.0.md | 4 ++-- composer.json | 16 ++++++++-------- phpunit.xml.dist | 9 ++------- 4 files changed, 16 insertions(+), 24 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 4dbc5e0..2c3c089 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,18 +9,15 @@ jobs: strategy: fail-fast: true matrix: - php: ['8.0', '8.1', '8.2'] - laravel: ['9.*', '10.*@dev'] + php: ['8.1', '8.2'] + laravel: ['10.*@dev'] composer-flags: ['--prefer-stable'] can-fail: [false] include: - - php: '8.0' - laravel: '9.*' + - php: '8.1' + laravel: '10.*@dev' composer-flags: '--prefer-stable --prefer-lowest' can-fail: false - exclude: - - php: '8.0' - laravel: '10.*@dev' name: "PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}${{ matrix.composer-flags != '' && format(' - Composer {0}', matrix.composer-flags) || '' }}" diff --git a/UPGRADE-2.0.md b/UPGRADE-2.0.md index af9beab..73b85e3 100644 --- a/UPGRADE-2.0.md +++ b/UPGRADE-2.0.md @@ -4,5 +4,5 @@ The below guide will assist in upgrading from the 1.x versions to 2.0. ## Package Requirements -- Laravel 9 or later -- PHP 8.0 or later +- Laravel 10 or later +- PHP 8.1 or later diff --git a/composer.json b/composer.json index cc34bb5..f544e94 100644 --- a/composer.json +++ b/composer.json @@ -4,16 +4,16 @@ "description": "Twilio SDK integration for Laravel", "keywords": ["laravel", "twilio"], "require": { - "php": "^8.0", - "illuminate/http": "^9.0 || ^10.0", - "illuminate/support": "^9.0 || ^10.0", - "twilio/sdk": "^6.33" + "php": "^8.1", + "illuminate/http": "^10.0", + "illuminate/support": "^10.0", + "twilio/sdk": "^6.44" }, "require-dev": { - "guzzlehttp/guzzle": "^7.2", - "laravel/framework": "^9.0 || ^10.0", - "orchestra/testbench": "^7.0 || ^8.0", - "phpunit/phpunit": "^9.5 || ^10.0" + "guzzlehttp/guzzle": "^7.5", + "laravel/framework": "^10.0", + "orchestra/testbench": "^8.0", + "phpunit/phpunit": "^10.0" }, "suggest": { "illuminate/notifications": "To use Laravel's notifications component with this package" diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 7412eb2..dc7deff 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,20 +1,15 @@ - ./tests/ + ./tests/