Skip to content

Commit

Permalink
Support for PHP 8.3. Dropped support for Laravel 9
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbaljet committed Jan 2, 2024
1 parent 2cd473d commit 086fc5f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 36 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
15 changes: 7 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
27 changes: 5 additions & 22 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,29 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
backupGlobals="false"
colors="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
<logging>
<log type="tap" target="build/report.tap"/>
<log type="junit" target="build/report.junit.xml"/>
<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
<log type="coverage-text" target="build/coverage.txt"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
</phpunit>
</phpunit>

0 comments on commit 086fc5f

Please sign in to comment.