Skip to content

Commit bfd56fa

Browse files
authored
Add support for Laravel 11 (#9)
1 parent f88adb9 commit bfd56fa

File tree

3 files changed

+9
-24
lines changed

3 files changed

+9
-24
lines changed

.github/workflows/test.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ jobs:
99
strategy:
1010
matrix:
1111
include:
12+
- php: 8.3
13+
laravel: ^11.0
14+
- php: 8.2
15+
laravel: ^11.0
1216
- php: 8.2
1317
laravel: ^10.0
1418
- php: 8.1
1519
laravel: ^10.0
1620
- php: 8.1
1721
laravel: ^9.0
18-
- php: 8.1
19-
laravel: ^8.0
20-
- php: 8.0
21-
laravel: ^8.0
2222

2323
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}
2424

composer.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@
1010
"license": "MIT",
1111
"minimum-stability": "stable",
1212
"require": {
13-
"laravel/framework": "^8|^9|^10",
13+
"laravel/framework": "^9|^10|^11",
1414
"spatie/sheets": "^1.10"
1515
},
1616
"require-dev": {
17-
"brianium/paratest": "^6.2",
18-
"nunomaduro/collision": "^5|^6",
1917
"orchestra/testbench": ">=6.15",
20-
"squizlabs/php_codesniffer": "^3.5"
18+
"squizlabs/php_codesniffer": "^3.5",
19+
"phpunit/phpunit": "<11"
2120
},
2221
"autoload": {
2322
"psr-4": {

phpunit.xml

+2-16
Original file line numberDiff line numberDiff line change
@@ -3,41 +3,27 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
55
backupGlobals="false"
6-
backupStaticAttributes="false"
76
bootstrap="vendor/autoload.php"
87
colors="true"
9-
convertErrorsToExceptions="true"
10-
convertNoticesToExceptions="true"
11-
convertWarningsToExceptions="true"
128
processIsolation="false"
139
stopOnFailure="false"
1410
executionOrder="random"
1511
failOnWarning="true"
1612
failOnRisky="true"
1713
failOnEmptyTestSuite="true"
1814
beStrictAboutOutputDuringTests="true"
19-
verbose="true"
20-
printerClass="NunoMaduro\Collision\Adapters\Phpunit\Printer">
2115
>
2216
<testsuites>
2317
<testsuite name="Ampersand Test Suite">
2418
<directory>tests</directory>
2519
</testsuite>
2620
</testsuites>
27-
<coverage>
28-
<include>
29-
<directory suffix=".php">./src</directory>
30-
</include>
31-
<report>
32-
<html outputDirectory="build/coverage"/>
33-
<text outputFile="build/coverage.txt"/>
34-
<clover outputFile="build/logs/clover.xml"/>
35-
</report>
36-
</coverage>
21+
<coverage />
3722
<logging>
3823
<junit outputFile="build/report.junit.xml"/>
3924
</logging>
4025
<php>
26+
<server name="XDEBUG_MODE" value="coverage" />
4127
<env name="APP_KEY" value="AckfSECXIvnK5r28GVIWUAxmbBSjTsmF"/>
4228
</php>
4329
</phpunit>

0 commit comments

Comments
 (0)