Skip to content

Commit 6885247

Browse files
committed
Add Laravel 12
1 parent de92e01 commit 6885247

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,12 @@ jobs:
3434
- "9"
3535
- "10"
3636
- "11"
37+
- "12"
3738
exclude:
3839
- php: "8.1"
3940
laravel: "11"
41+
- php: "8.1"
42+
laravel: "12"
4043

4144
steps:
4245
- name: Checkout code

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
"require": {
1414
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
1515
"kreait/firebase-php": "^7.13",
16-
"illuminate/contracts": "^9.0 || ^10.0 || ^11.0",
17-
"illuminate/support": "^9.0 || ^10.0 || ^11.0",
16+
"illuminate/contracts": "^9.0 || ^10.0 || ^11.0 || ^12.0",
17+
"illuminate/support": "^9.0 || ^10.0 || ^11.0 || ^12.0",
1818
"symfony/cache": "^6.1.2 || ^7.0.3"
1919
},
2020
"require-dev": {
21-
"orchestra/testbench": "^7.0 || ^8.0 || ^9.0",
21+
"orchestra/testbench": "^7.0 || ^8.0 || ^9.0 || ^10.0",
2222
"laravel/pint": "^1.14",
23-
"phpunit/phpunit": "^9.6.17 || ^10.5.13"
23+
"phpunit/phpunit": "^9.6.17 || ^10.5.13 || ^11.5.3"
2424
},
2525
"autoload": {
2626
"psr-4": {

phpunit.xml.dist

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</testsuite>
1212
</testsuites>
1313

14-
<coverage ignoreDeprecatedCodeUnits="true" processUncoveredFiles="true">
14+
<coverage>
1515
<include>
1616
<directory suffix=".php">src</directory>
1717
</include>
@@ -20,6 +20,12 @@
2020
</exclude>
2121
</coverage>
2222

23+
<source>
24+
<include>
25+
<directory>src</directory>
26+
</include>
27+
</source>
28+
2329
<php>
2430
<ini name="date.timezone" value="UTC"/>
2531
<server name="APP_ENV" value="testing"/>

0 commit comments

Comments
 (0)