Skip to content

Commit 97d50ee

Browse files
committed
Laravel 13 support
1 parent 26253e1 commit 97d50ee

4 files changed

Lines changed: 14 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
laravel: [10, 11, 12]
19+
laravel: [10, 11, 12, 13]
2020

2121
steps:
2222
- uses: actions/checkout@v2
2323
- name: Setup PHP
2424
uses: shivammathur/setup-php@v2
2525
with:
26-
php-version: '8.2'
26+
php-version: '8.3'
2727
- name: Install composer dependencies
2828
run: composer require "illuminate/support:^${{ matrix.laravel }}.0"
2929
- name: Run tests

.gitignore

Lines changed: 1 addition & 0 deletions
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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
},
2020
"require": {
2121
"php": "^8.2",
22-
"illuminate/support": "^10.0|^11.0|^12.0"
22+
"illuminate/support": "^10.0|^11.0|^12.0|^13.0"
2323
},
2424
"require-dev": {
25-
"orchestra/testbench": "^8.0|^9.0|^10.0",
26-
"pestphp/pest": "^2.0|^3.0",
27-
"pestphp/pest-plugin-laravel": "^2.0|^3.1"
25+
"orchestra/testbench": "^8.0|^9.0|^10.0|^11.0",
26+
"pestphp/pest": "^2.0|^3.0|^4.0",
27+
"pestphp/pest-plugin-laravel": "^2.0|^3.1|^4.0"
2828
},
2929
"minimum-stability": "dev",
3030
"prefer-stable": true,

phpunit.xml

Lines changed: 7 additions & 7 deletions
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/12.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)