Skip to content

Commit 98a64e8

Browse files
authored
Support for PHP 8.2
2 parents ade3843 + 89f70ea commit 98a64e8

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,12 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-latest]
16-
php: [8.1, 8.0]
17-
laravel: [9.*, 8.*]
16+
php: [8.2, 8.1, 8.0]
17+
laravel: [9.*]
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
2020
- laravel: 9.*
2121
testbench: ^7.0
22-
- laravel: 8.*
23-
testbench: ^6.23
2422

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

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
Laravel Middleware to protect your app against Cross-site scripting (XSS). It sanitizes request input by utilising the [Laravel Security](https://github.com/GrahamCampbell/Laravel-Security) package, and it can sanatize [Blade echo statements](https://laravel.com/docs/8.x/blade#displaying-data) as well.
88

9-
* Support for PHP 8.0 and 8.1
10-
* Support for Laravel 8 and 9
9+
* Support for PHP 8.0 and higher
10+
* Support for Laravel 9 and higher
1111

12-
## Support this package!
12+
## Sponsor this package!
1313

1414
❤️ We proudly support the community by developing Laravel packages and giving them away for free. If this package saves you time or if you're relying on it professionally, please consider [sponsoring the maintenance and development](https://github.com/sponsors/pascalbaljet). Keeping track of issues and pull requests takes time, but we're happy to help!
1515

composer.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^8.0|^8.1",
19+
"php": "^8.0|^8.1|^8.2",
2020
"graham-campbell/security": "^9.1",
21-
"illuminate/contracts": "^8.73|^9.0",
21+
"illuminate/contracts": "^9.0",
2222
"spatie/laravel-package-tools": "^1.9.2"
2323
},
2424
"require-dev": {
25-
"nunomaduro/collision": "^5.10|^6.0",
26-
"orchestra/testbench": "^6.22|^7.0",
25+
"nesbot/carbon": "^2.63",
26+
"nunomaduro/collision": "^6.0",
27+
"orchestra/testbench": "^7.0",
2728
"pestphp/pest": "^1.21",
2829
"pestphp/pest-plugin-laravel": "^1.1",
2930
"phpunit/phpunit": "^9.5"
@@ -58,4 +59,4 @@
5859
},
5960
"minimum-stability": "dev",
6061
"prefer-stable": true
61-
}
62+
}

0 commit comments

Comments
 (0)