Skip to content

Commit 0e4ae22

Browse files
committed
Drop Laravel 9 support, add Laravel 11 support
1 parent 8fa1a14 commit 0e4ae22

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
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: [9, 10]
14+
laravel: [10, 11]
1515

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

composer.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@
2121
}
2222
},
2323
"require": {
24-
"php": "^8.1",
25-
"illuminate/support": "^9.0|^10.0",
26-
"archtechx/laravel-seo": "^0.6",
27-
"ryangjchandler/orbit": "*",
28-
"illuminate/routing": "^9.0|^10.0",
29-
"illuminate/database": "^9.0|^10.0"
24+
"php": "^8.2",
25+
"illuminate/support": "^10.0|^11.0",
26+
"archtechx/laravel-seo": "^0.10",
27+
"ryangjchandler/orbit": "^1.0",
28+
"illuminate/routing": "^10.0|^11.0",
29+
"illuminate/database": "^10.0|^11.0"
3030
},
3131
"require-dev": {
32-
"orchestra/testbench": "^7.0|^8.0",
33-
"pestphp/pest": "^1.2|^2.0",
34-
"pestphp/pest-plugin-laravel": "^1.0|^2.0"
32+
"orchestra/testbench": "^8.0|^9.0",
33+
"pestphp/pest": "^2.0",
34+
"pestphp/pest-plugin-laravel": "^2.0"
3535
},
3636
"extra": {
3737
"laravel": {

phpunit.xml

+7-7
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"/>
@@ -22,12 +19,15 @@
2219
<env name="MAIL_DRIVER" value="array"/>
2320
<env name="QUEUE_CONNECTION" value="sync"/>
2421
<env name="SESSION_DRIVER" value="array"/>
25-
2622
<env name="DB_CONNECTION" value="testbench"/>
2723
<env name="DB_DATABASE" value="main"/>
2824
<!-- <env name="DB_CONNECTION" value="sqlite"/> -->
2925
<!-- <env name="DB_DATABASE" value=":memory:"/> -->
30-
3126
<env name="AWS_DEFAULT_REGION" value="us-west-2"/>
3227
</php>
28+
<source>
29+
<include>
30+
<directory suffix=".php">./src</directory>
31+
</include>
32+
</source>
3333
</phpunit>

0 commit comments

Comments
 (0)