Skip to content

Commit

Permalink
feat: add support for Laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
owenvoke committed Feb 8, 2024
1 parent dd7cc11 commit 059dbdc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: PHPStan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,20 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.2]
laravel: [10.*]
php: [8.2, 8.3]
laravel: [10.*, 11.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 11.*
testbench: 9.*

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
],
"require": {
"php": "^8.2",
"onfido/api-php-client": "^6.5",
"illuminate/support": "^10.0"
"onfido/api-php-client": "^6.8",
"illuminate/support": "^10.0 || ^11.0"
},
"require-dev": {
"orchestra/testbench": "^8.0",
"pestphp/pest": "^2.2.1",
"worksome/coding-style": "^2.5"
"orchestra/testbench": "^8.0 || ^9.0",
"pestphp/pest": "^2.33",
"worksome/coding-style": "^2.8"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 0 additions & 2 deletions src/Facades/Onfido.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@

use Illuminate\Support\Facades\Facade;
use Onfido\Api\DefaultApi;
use Onfido\Model\Applicant;
use Onfido\Model\ApplicantRequest;
use Onfido\Model\ApplicantResponse;
use Onfido\Model\Check;
use Onfido\Model\CheckRequest;
use Onfido\Model\CheckResponse;

Expand Down

0 comments on commit 059dbdc

Please sign in to comment.