Skip to content

Commit 4abf039

Browse files
committed
Drop Laravel 8-9, add Laravel 11 support
1 parent 6d6903a commit 4abf039

File tree

4 files changed

+16
-13
lines changed

4 files changed

+16
-13
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
laravel: [8, 9, 10]
14+
laravel: [10, 11]
1515

1616
steps:
1717
- uses: actions/checkout@v2

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.phpunit.result.cache
2+
.phpunit.cache
23
package-lock.json
34
composer.lock
45
vendor/

composer.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@
2323
}
2424
},
2525
"require": {
26-
"php": "^8.0",
27-
"illuminate/support": "^8.24|^9.0|^10.0",
28-
"illuminate/view": "^8.24|^9.0|^10.0"
26+
"php": "^8.2",
27+
"illuminate/support": "^10.0|^11.0",
28+
"illuminate/view": "^10.0|^11.0"
2929
},
3030
"require-dev": {
31-
"orchestra/testbench": "^6.23|^7.0|^8.0",
32-
"nunomaduro/larastan": "^1.0|^2.4",
33-
"pestphp/pest": "^1.2|^2.0",
34-
"pestphp/pest-plugin-laravel": "^1.0|^2.0",
31+
"orchestra/testbench": "^8.0|^9.0",
32+
"nunomaduro/larastan": "^2.4",
33+
"pestphp/pest": "^2.0",
34+
"pestphp/pest-plugin-laravel": "^2.0",
3535
"intervention/image": "^2.7"
3636
},
3737
"extra": {

phpunit.xml

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3-
<coverage processUncoveredFiles="true">
4-
<include>
5-
<directory suffix=".php">./src</directory>
6-
</include>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
3+
<coverage>
74
<report>
85
<clover outputFile="coverage/phpunit/clover.xml"/>
96
<html outputDirectory="coverage/phpunit/html" lowUpperBound="35" highLowerBound="70"/>
@@ -28,4 +25,9 @@
2825
<!-- <env name="DB_DATABASE" value=":memory:"/> -->
2926
<env name="AWS_DEFAULT_REGION" value="us-west-2"/>
3027
</php>
28+
<source>
29+
<include>
30+
<directory suffix=".php">./src</directory>
31+
</include>
32+
</source>
3133
</phpunit>

0 commit comments

Comments
 (0)