Skip to content

Commit c31d5e7

Browse files
authored
Support for PHP 8.3. Dropped support for Laravel 9 (#11)
* Support for PHP 8.3. Dropped support for Laravel 9 * Update phpunit.xml.dist
1 parent 12cbc55 commit c31d5e7

File tree

4 files changed

+14
-33
lines changed

4 files changed

+14
-33
lines changed

.github/workflows/run-tests.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,12 @@ jobs:
88
strategy:
99
fail-fast: true
1010
matrix:
11-
php: [8.2, 8.1]
12-
laravel: [10.*, 9.*]
11+
php: [8.3, 8.2, 8.1]
12+
laravel: [10.*]
1313
dependency-version: [prefer-lowest, prefer-stable]
1414
include:
1515
- laravel: 10.*
1616
testbench: 8.*
17-
- laravel: 9.*
18-
testbench: 7.*
1917

2018
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
2119

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ It's the *magic* of Inertia.js with the *simplicity* of Blade. [Splade](https://
1818

1919
## Requirements
2020

21-
* PHP 8.0+
22-
* Laravel 9.0
21+
* PHP 8.1+
22+
* Laravel 10.0
2323

2424
## Installation
2525

composer.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^8.1 || ^8.2",
20-
"illuminate/support": "^9.0 || ^10.0"
19+
"php": "^8.1 || ^8.2 || ^8.3",
20+
"illuminate/support": " ^10.0"
2121
},
2222
"require-dev": {
2323
"html2text/html2text": "^4.3",
2424
"jeremykendall/php-domain-parser": "^6.0",
25-
"laravel/ui": "^3.0|^4.0",
25+
"laravel/ui": "^4.0",
2626
"mockery/mockery": "^1.4.4",
2727
"moneyphp/money": "^3.3",
2828
"nesbot/carbon": "^2.66",
29-
"orchestra/testbench": "^7.0 || ^8.0",
30-
"phpunit/phpunit": "^9.5",
29+
"orchestra/testbench": " ^8.0",
30+
"phpunit/phpunit": "^10.4",
3131
"spatie/laravel-sitemap": "^6.0",
3232
"symfony/process": "^6.0"
3333
},

phpunit.xml.dist

+5-22
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit bootstrap="vendor/autoload.php"
3-
backupGlobals="false"
4-
backupStaticAttributes="false"
5-
colors="true"
6-
verbose="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
10-
processIsolation="false"
11-
stopOnFailure="false">
3+
backupGlobals="false"
4+
colors="true"
5+
processIsolation="false"
6+
stopOnFailure="false">
127
<testsuites>
138
<testsuite name="Test Suite">
149
<directory>tests</directory>
1510
</testsuite>
1611
</testsuites>
17-
<filter>
18-
<whitelist>
19-
<directory suffix=".php">src/</directory>
20-
</whitelist>
21-
</filter>
22-
<logging>
23-
<log type="tap" target="build/report.tap"/>
24-
<log type="junit" target="build/report.junit.xml"/>
25-
<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
26-
<log type="coverage-text" target="build/coverage.txt"/>
27-
<log type="coverage-clover" target="build/logs/clover.xml"/>
28-
</logging>
29-
</phpunit>
12+
</phpunit>

0 commit comments

Comments
 (0)