From 0230cca208b32de891312aaafc9d0c309246891c Mon Sep 17 00:00:00 2001 From: Laravel Shift Date: Wed, 28 Feb 2024 04:32:21 -0500 Subject: [PATCH] Laravel 11.x Compatibility (#22) --- .github/workflows/tests.yml | 12 ++++++++++-- composer.json | 18 ++++++++++++------ 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 64bc36a..704d545 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,13 +8,13 @@ on: jobs: tests: - runs-on: ubuntu-latest + strategy: fail-fast: true matrix: php: [7.3, 7.4, 8.0, 8.1, 8.2] - laravel: [6.0, 7.0, 8.0, 9.0, 10.0] + laravel: [6.0, 7.0, 8.0, 9.0, 10.0, '11.0'] exclude: - php: 7.3 laravel: 9.0 @@ -32,6 +32,14 @@ jobs: laravel: 7.0 - php: 8.2 laravel: 8.0 + - laravel: '11.0' + php: 7.3 + - laravel: '11.0' + php: 7.4 + - laravel: '11.0' + php: 8.0 + - laravel: '11.0' + php: 8.1 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} diff --git a/composer.json b/composer.json index 48576ef..1c02eff 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,14 @@ { "name": "joelbutcher/laravel-facebook-graph", "description": "Laravel wrapper for the Facebook Graph SDK for PHP 7.4 and PHP 8.", - "keywords": ["laravel", "php", "php8", "facebook", "facebook-graph", "graph-sdk"], + "keywords": [ + "laravel", + "php", + "php8", + "facebook", + "facebook-graph", + "graph-sdk" + ], "license": "MIT", "support": { "issues": "https://github.com/joelbutcher/laravel-facebook-graph/issues", @@ -14,17 +21,16 @@ } ], "require": { - "php": "^7.3|^8.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", "joelbutcher/facebook-graph-sdk": "^6.0.0", "symfony/http-client": "^5.3|^6.0" }, "require-dev": { "mockery/mockery": "^1.4.2", - "orchestra/testbench": "^6.0|^7.0", - "pestphp/pest": "^1.21", - "phpunit/phpunit": "^9.4" + "orchestra/testbench": "^6.0|^7.0|^9.0", + "pestphp/pest": "^1.21|^2.34", + "phpunit/phpunit": "^9.4|^10.5" }, "autoload": { "psr-4": {