Skip to content

Commit

Permalink
Bump requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
mbabker committed Feb 12, 2023
1 parent df18e1e commit 13bb152
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 24 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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) || '' }}"

Expand Down
4 changes: 2 additions & 2 deletions UPGRADE-2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
9 changes: 2 additions & 7 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
verbose="true"
>
<testsuites>
<testsuite name="Test Suite">
<directory suffix="Test.php">./tests/</directory>
<directory>./tests/</directory>
</testsuite>
</testsuites>

Expand Down

0 comments on commit 13bb152

Please sign in to comment.