Skip to content

Commit 148f0b5

Browse files
committed
Add PHP 8.5 support, fix coverage warnings, ensure Pest 4/PHPUnit 12
1 parent fa6ae4d commit 148f0b5

File tree

3 files changed

+5
-18
lines changed

3 files changed

+5
-18
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
php: [8.3, 8.2]
13+
php: [8.5, 8.3, 8.2]
1414
laravel: ['10.*', '11.*', '12.*']
1515
dependency-version: [prefer-lowest, prefer-stable]
1616
include:

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
],
2424
"require": {
2525
"php": "^8.2",
26-
"illuminate/http": "^10.0|^11.0|^12.0",
27-
"illuminate/support": "^10.0|^11.0|^12.0"
26+
"illuminate/http": "^10.0|^11.0|^12.0|^13.0",
27+
"illuminate/support": "^10.0|^11.0|^12.0|^13.0"
2828
},
2929
"require-dev": {
3030
"mockery/mockery": "^1.3",
31-
"orchestra/testbench": "^8.0|^9.0|^10.0",
32-
"pestphp/pest": "^2.34|^3.7"
31+
"orchestra/testbench": "^8.0|^9.0|^10.0|^11.0",
32+
"pestphp/pest": "^2.34|^3.7|^4.0"
3333
},
3434
"autoload": {
3535
"psr-4": {

phpunit.xml.dist

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" backupStaticAttributes="false" colors="true" verbose="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3-
<coverage>
4-
<include>
5-
<directory suffix=".php">src/</directory>
6-
</include>
7-
<report>
8-
<clover outputFile="build/logs/clover.xml"/>
9-
<html outputDirectory="build/coverage"/>
10-
<text outputFile="build/coverage.txt"/>
11-
</report>
12-
</coverage>
133
<testsuites>
144
<testsuite name="Spatie Test Suite">
155
<directory>tests</directory>
166
</testsuite>
177
</testsuites>
18-
<logging>
19-
<junit outputFile="build/report.junit.xml"/>
20-
</logging>
218
</phpunit>

0 commit comments

Comments
 (0)