Skip to content

Commit d92a2da

Browse files
3.x
1 parent b35a86b commit d92a2da

5 files changed

Lines changed: 15 additions & 14 deletions

File tree

.github/workflows/php.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ jobs:
5454
strategy:
5555
matrix:
5656
php-version:
57-
- 8.2
5857
- 8.3
5958
- 8.4
59+
- 8.5
6060
laravel-constraint:
61-
- 11.*
6261
- 12.*
62+
- 13.*
6363
dependencies: [ lowest, highest ]
6464

6565
steps:

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,12 @@ Route::get('/payment/{payment}', function (Payment $payment) {
2323

2424
[![](.github/assets/support.png)](https://github.com/sponsors/DarkGhostHunter)
2525

26-
Your support allows me to keep this package free, up-to-date and maintainable. Alternatively, you can **[spread the word!](http://twitter.com/share?text=I%20am%20using%20this%20cool%20PHP%20package&url=https://github.com%2FLaragear%2FExpireRoute&hashtags=PHP,Laravel)**
26+
Your support allows me to keep this package free, up to date and maintainable. Alternatively, you can **[spread the word!](http://twitter.com/share?text=I%20am%20using%20this%20cool%20PHP%20package&url=https://github.com%2FLaragear%2FExpireRoute&hashtags=PHP,Laravel)**
2727

2828
## Requirements
2929

30-
- Laravel 11 or later
30+
- PHP 8.3 or later
31+
- Laravel 12 or later
3132

3233
## Installation
3334

@@ -192,10 +193,10 @@ There should be no problems using this package with Laravel Octane.
192193

193194
## Security
194195

195-
If you discover any security related issues, please email darkghosthunter@gmail.com instead of using the issue tracker.
196+
If you discover any security-related issues, please email darkghosthunter@gmail.com instead of using the issue tracker.
196197

197198
# License
198199

199-
This specific package version is licensed under the terms of the [MIT License](LICENSE.md), at time of publishing.
200+
This specific package version is licensed under the terms of the [MIT License](LICENSE.md), at the time of publishing.
200201

201-
[Laravel](https://laravel.com) is a Trademark of [Taylor Otwell](https://github.com/TaylorOtwell/). Copyright © 2011-2025 Laravel LLC.
202+
[Laravel](https://laravel.com) is a Trademark of [Taylor Otwell](https://github.com/TaylorOtwell/). Copyright © 2011–2026 Laravel LLC.

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
"issues": "https://github.com/Laragear/ExpireRoute/issues"
1818
},
1919
"require": {
20-
"php": "^8.2",
21-
"illuminate/support": "11.*|12.*",
22-
"illuminate/http": "11.*|12.*",
23-
"illuminate/routing": "11.*|12.*"
20+
"php": "^8.3",
21+
"illuminate/support": "12.*|13.*",
22+
"illuminate/http": "12.*|13.*",
23+
"illuminate/routing": "12.*|13.*"
2424
},
2525
"require-dev": {
26-
"orchestra/testbench": "9.*|10.*"
26+
"orchestra/testbench": "10.*|11.*"
2727
},
2828
"autoload": {
2929
"psr-4": {

phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd" cacheDirectory=".phpunit.cache">
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/13.0/phpunit.xsd" cacheDirectory=".phpunit.cache">
33
<testsuites>
44
<testsuite name="Test Suite">
55
<directory>tests</directory>

src/Http/Middleware/Expires.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function handle(Request $request, Closure $next, string $parameter = '',
7575
*/
7676
protected function getLastRouteParameter(Request $request): ?string
7777
{
78-
return Arr::last($request->route()->parameterNames()); // @phpstan-ignore-line
78+
return Arr::last($request->route()->parameterNames());
7979
}
8080

8181
/**

0 commit comments

Comments
 (0)