From 25f881adb45c00dfba51277c261f098e12b6ac3a Mon Sep 17 00:00:00 2001 From: Fabio Spadea Date: Wed, 15 Feb 2023 11:17:20 +0100 Subject: [PATCH 1/2] laravel-10 support and fix required version format --- README.md | 2 +- composer.json | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1a38f95..5c36966 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# HTMLPurifier for Laravel 5/6/7/8/9 +# HTMLPurifier for Laravel 5/6/7/8/9/10 [![Build Status](https://travis-ci.org/mewebstudio/Purifier.svg?branch=master)](https://travis-ci.org/github/mewebstudio/Purifier) [![codecov](https://codecov.io/gh/mewebstudio/Purifier/branch/master/graph/badge.svg)](https://codecov.io/gh/mewebstudio/Purifier) diff --git a/composer.json b/composer.json index cb4550d..2df51da 100755 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "mews/purifier", "type": "package", - "description": "Laravel 5/6/7/8/9 HtmlPurifier Package", + "description": "Laravel 5/6/7/8/9/10 HtmlPurifier Package", "keywords": ["Laravel HtmlPurifier", "Laravel Purifier", "Laravel Security", "HtmlPurifier", "Purifier", "security", "xss"], "homepage": "https://github.com/mewebstudio/purifier", "license": "MIT", @@ -15,10 +15,10 @@ ], "require": { "php": "^7.2|^8.0", - "illuminate/config": "^5.8|^6.0|^7.0|^8.0|^9.0", - "illuminate/support": "^5.8|^6.0|^7.0|^8.0|^9.0", - "illuminate/filesystem": "^5.8|^6.0|^7.0|^8.0|^9.0", - "ezyang/htmlpurifier": "^4.16.*" + "illuminate/config": "^5.8|^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/support": "^5.8|^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/filesystem": "^5.8|^6.0|^7.0|^8.0|^9.0|^10.0", + "ezyang/htmlpurifier": "^4.16.0" }, "require-dev": { "phpunit/phpunit": "^8.0|^9.0", From bd160242e362a1395d6c1c809766207dc301c9d9 Mon Sep 17 00:00:00 2001 From: Fabio Spadea Date: Fri, 17 Feb 2023 14:47:54 +0100 Subject: [PATCH 2/2] allow phpunit 10.x --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 2df51da..c415e2d 100755 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "ezyang/htmlpurifier": "^4.16.0" }, "require-dev": { - "phpunit/phpunit": "^8.0|^9.0", + "phpunit/phpunit": "^8.0|^9.0|^10.0", "mockery/mockery": "^1.3.3", "graham-campbell/testbench": "^3.2|^5.5.1" },