From 89f70ea06a6b7c3ee8da9527c930a2cee80cb97f Mon Sep 17 00:00:00 2001 From: pascalbaljet Date: Fri, 9 Dec 2022 15:12:56 +0100 Subject: [PATCH] Support for PHP 8.2 --- .github/workflows/run-tests.yml | 6 ++---- README.md | 6 +++--- composer.json | 11 ++++++----- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index ed5f34f..b7760d8 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,14 +13,12 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.1, 8.0] - laravel: [9.*, 8.*] + php: [8.2, 8.1, 8.0] + laravel: [9.*] stability: [prefer-lowest, prefer-stable] include: - laravel: 9.* testbench: ^7.0 - - laravel: 8.* - testbench: ^6.23 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/README.md b/README.md index fdc826f..e543c56 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,10 @@ 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. -* Support for PHP 8.0 and 8.1 -* Support for Laravel 8 and 9 +* Support for PHP 8.0 and higher +* Support for Laravel 9 and higher -## Support this package! +## Sponsor this package! ❤️ 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! diff --git a/composer.json b/composer.json index 89c3c60..ccb21c0 100644 --- a/composer.json +++ b/composer.json @@ -16,14 +16,15 @@ } ], "require": { - "php": "^8.0|^8.1", + "php": "^8.0|^8.1|^8.2", "graham-campbell/security": "^9.1", - "illuminate/contracts": "^8.73|^9.0", + "illuminate/contracts": "^9.0", "spatie/laravel-package-tools": "^1.9.2" }, "require-dev": { - "nunomaduro/collision": "^5.10|^6.0", - "orchestra/testbench": "^6.22|^7.0", + "nesbot/carbon": "^2.63", + "nunomaduro/collision": "^6.0", + "orchestra/testbench": "^7.0", "pestphp/pest": "^1.21", "pestphp/pest-plugin-laravel": "^1.1", "phpunit/phpunit": "^9.5" @@ -58,4 +59,4 @@ }, "minimum-stability": "dev", "prefer-stable": true -} \ No newline at end of file +}