From 086fc5f7f29e50efe5b50c449c86a7dbee5ed74d Mon Sep 17 00:00:00 2001 From: Pascal Baljet Date: Tue, 2 Jan 2024 12:24:27 +0100 Subject: [PATCH] Support for PHP 8.3. Dropped support for Laravel 9 --- .github/workflows/run-tests.yml | 6 ++---- README.md | 4 ++-- composer.json | 15 +++++++-------- phpunit.xml.dist | 27 +++++---------------------- 4 files changed, 16 insertions(+), 36 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index b4be8a0..b6e73ab 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -8,14 +8,12 @@ jobs: strategy: fail-fast: true matrix: - php: [8.2, 8.1] - laravel: [10.*, 9.*] + php: [8.3, 8.2, 8.1] + laravel: [10.*] dependency-version: [prefer-lowest, prefer-stable] include: - laravel: 10.* testbench: 8.* - - laravel: 9.* - testbench: 7.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} diff --git a/README.md b/README.md index e09ae86..744c025 100755 --- a/README.md +++ b/README.md @@ -25,11 +25,11 @@ It's the *magic* of Inertia.js with the *simplicity* of Blade. [Splade](https:// ## Installation -Only the master branch and version 2.0 of this package are compatible with Laravel 8.0 and 9.0. If you're still using an older version of Laravel (or PHP < 7.3), please use the chart below to find out which version you should use. Mind that older versions are no longer supported. +Only the master branch and version 2.0 of this package are compatible with Laravel 8.0 and higher. If you're still using an older version of Laravel (or PHP < 7.3), please use the chart below to find out which version you should use. Mind that older versions are no longer supported. | Laravel Version | Package Version | | --------------- | --------------- | -| 8.0-9.0 | 2.0 | +| 8.0-10.0 | 2.0 | | 6.0-7.0 | 1.0 | You can install the package via composer: diff --git a/composer.json b/composer.json index 8a53fd3..6ec94d0 100755 --- a/composer.json +++ b/composer.json @@ -17,17 +17,16 @@ } ], "require": { - "php": "^8.1 || ^8.2", + "php": "^8.1 || ^8.2 || ^8.3", "ext-openssl": "*", - "egulias/email-validator": "^2.1.10 || ^3.1", - "guzzlehttp/guzzle": "^7.0.1", - "illuminate/support": "^9.0 || ^10.0", - "illuminate/validation": "^9.0 || ^10.0" + "egulias/email-validator": "^3.1", + "guzzlehttp/guzzle": "^7.2", + "illuminate/support": "^10.0", + "illuminate/validation": "^10.0" }, "require-dev": { - "nesbot/carbon": "^2.66", - "orchestra/testbench": "^7.0 || ^8.0", - "phpunit/phpunit": "^9.5" + "orchestra/testbench": "^8.0", + "phpunit/phpunit": "^10.4" }, "autoload": { "psr-4": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 22fe879..f9aad31 100755 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,29 +1,12 @@ + backupGlobals="false" + colors="true" + processIsolation="false" + stopOnFailure="false"> tests - - - src/ - - - - - - - - - - + \ No newline at end of file