Skip to content

Commit 66831ab

Browse files
[9.x] Supports Laravel 13 (#781)
1 parent 7d2f35e commit 66831ab

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
strategy:
1717
matrix:
1818
php: [8.3, 8.4, 8.5]
19-
laravel: [12.*]
19+
laravel: [12.*, 13.*]
2020
stability: [prefer-lowest, prefer-stable]
2121
os: [ubuntu-latest]
2222
include:
2323
- os: windows-latest
2424
php: 8.5
25-
laravel: 12.*
25+
laravel: 13.*
2626
stability: prefer-stable
2727

2828
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

composer.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,19 @@
4242
"require": {
4343
"php": "^8.3",
4444
"ajthinking/archetype": "^1.0.3 || ^2.0",
45-
"laravel/framework": "^12.0",
45+
"laravel/framework": "^12.0 || ^13.0",
4646
"pixelfear/composer-dist-plugin": "^0.1.5",
4747
"spatie/ignition": "^1.15",
4848
"spatie/invade": "^2.1",
49-
"statamic/cms": "^6.3",
50-
"stillat/proteus": "^4.0"
49+
"statamic/cms": "^6.5",
50+
"stillat/proteus": "^4.2.1"
5151
},
5252
"require-dev": {
5353
"laravel/pint": "^1.0",
5454
"spatie/test-time": "^1.2",
55-
"orchestra/testbench": "^10.0",
55+
"orchestra/testbench": "^10.0 || ^11.0",
5656
"phpunit/phpunit": "^11.0",
57-
"spatie/laravel-ray": "^1.40",
57+
"spatie/laravel-ray": "^1.43.6",
5858
"inertiajs/inertia-laravel": "^2.0.10"
5959
},
6060
"config": {
@@ -65,5 +65,7 @@
6565
"pixelfear/composer-dist-plugin": true,
6666
"composer/package-versions-deprecated": true
6767
}
68-
}
68+
},
69+
"minimum-stability": "dev",
70+
"prefer-stable": true
6971
}

src/Tags/RunwayTag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ protected function getPaginationData($paginator): array
177177
'current_page' => $paginator->currentPage(),
178178
'prev_page' => $paginator->previousPageUrl(),
179179
'next_page' => $paginator->nextPageUrl(),
180-
'auto_links' => $paginator->render('pagination::default'),
180+
'auto_links' => (string) $paginator->render(),
181181
'links' => $paginator->renderArray(),
182182
];
183183
}

0 commit comments

Comments
 (0)