Skip to content

Commit e835972

Browse files
Laravel 13.x Compatibility (#772)
1 parent c3fa824 commit e835972

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
php-version: ['8.2', '8.3', '8.4']
23-
laravel-version: [12]
23+
laravel-version: ['12', '13']
2424
os: [ubuntu-latest, windows-latest, macos-latest]
2525
stability: [prefer-lowest, prefer-stable]
2626
experimental: [false]
27+
exclude:
28+
- laravel-version: '13'
29+
php-version: '8.2'
2730

2831
runs-on: ${{ matrix.os }}
2932

.github/workflows/demo.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
php-version: ['8.2', '8.3', '8.4']
31-
laravel-version: [12]
31+
laravel-version: ['12', '13']
3232
os: [ubuntu-latest]
33+
exclude:
34+
- laravel-version: '13'
35+
php-version: '8.2'
3336

3437
runs-on: ${{ matrix.os }}
3538

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"laravel/pint": "~1.25.0",
2222
"mockery/mockery": "^1.4.4",
2323
"orchestra/testbench": ">=9.0",
24-
"phpunit/phpunit": "^11.5.3"
24+
"phpunit/phpunit": "^11.5.3|^12.5.12"
2525
},
2626
"suggest": {
2727
"jasonmccreary/laravel-test-assertions": "Required to use additional assertions in generated tests (^2.0)."

tests/Feature/Generators/Statements/InertiaPageGeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public function output_writes_pages_for_inertia_statements($framework, $dependen
114114

115115
#[Test]
116116
#[DataProvider('inertiaAdaptersDataProvider')]
117-
public function it_outputs_skipped_pages($framework, $dependencies, $path): void
117+
public function it_outputs_skipped_pages($framework, $dependencies, $path, $extension): void
118118
{
119119
$this->filesystem->expects('exists')
120120
->with(base_path('package.json'))

0 commit comments

Comments
 (0)