Skip to content

Commit 9d96ba8

Browse files
authored
laravel 12 support (#10)
* ✨ `laravel 12` support * ✨ `laravel 12` support * ✨ `laravel 12` support
1 parent f8c8092 commit 9d96ba8

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

.github/workflows/formats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
os: [ubuntu-latest]
12-
php: [8.2]
12+
php: [8.4]
1313
stability: [prefer-lowest, prefer-stable]
1414

1515
name: Formats php${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.stability }}

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
php: [8.1, 8.2, 8.3, 8.4]
12-
laravel: [11.*, 10.*, 9.*]
12+
laravel: [12.*, 11.*, 10.*, 9.*]
1313
stability: [prefer-lowest, prefer-stable]
1414
exclude:
1515
- php: 8.1
1616
laravel: 11.*
17+
- php: 8.1
18+
laravel: 12.*
1719

1820
name: Tests php@${{ matrix.php }} - laravel@${{ matrix.laravel }} - ${{ matrix.stability }}
1921

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
],
2020
"require": {
2121
"php": "^8.1.0",
22-
"laravel/framework": "^9.0|^10.0|^11.0",
22+
"laravel/framework": "^9.0|^10.48.29|^11.0|^12.0",
2323
"devmoath/jira-php": "0.*"
2424
},
2525
"require-dev": {
2626
"laravel/pint": "^1.2.0",
27-
"pestphp/pest": "^2.0.0",
27+
"pestphp/pest": "^2.0.0|^3.0.0",
2828
"mockery/mockery": "^1.6",
2929
"phpstan/extension-installer": "^1.2",
3030
"phpstan/phpstan": "^1.8.6",

phpunit.xml.dist

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.5/phpunit.xsd"
44
colors="true"
55
bootstrap="vendor/autoload.php"
66
>
@@ -14,4 +14,9 @@
1414
<directory suffix=".php">./tests</directory>
1515
</testsuite>
1616
</testsuites>
17+
<source>
18+
<include>
19+
<directory suffix=".php">./src</directory>
20+
</include>
21+
</source>
1722
</phpunit>

0 commit comments

Comments
 (0)