From 1ec1b34a9d447dff19444279aa3090ffc79b30fd Mon Sep 17 00:00:00 2001 From: Adam Griffith <5164766+adamjgriffith@users.noreply.github.com> Date: Mon, 27 Feb 2023 19:44:20 +0000 Subject: [PATCH 1/2] Add Laravel 10 support --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index b8f3b5b..8ab3a66 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "mpociot/versionable", "license": "MIT", - "description": "Allows to create Laravel 4 / 5 / 6 / 7 Model versioning and restoring", + "description": "Allows to create Laravel 4 / 5 / 6 / 7 / 8 / 9 / 10 Model versioning and restoring", "keywords": [ "model", "laravel", @@ -23,12 +23,12 @@ }, "require": { "php": ">=7.1.0 || >=7.2.5", - "illuminate/support": "~5.3 || ^6.0 || ^7.0 || ^8.0|^9.0" + "illuminate/support": "~5.3 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0" }, "require-dev": { - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0 || ^10.0", "mockery/mockery": "^1.0", - "orchestra/testbench": "^3.1 || ^4.0 || ^5.0 || ^6.0|^7.0" + "orchestra/testbench": "^3.1 || ^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0" }, "autoload": { "classmap": [ From 611731f18f55210237cc43f2092fcd0b7446b21c Mon Sep 17 00:00:00 2001 From: Adam Griffith <5164766+adamjgriffith@users.noreply.github.com> Date: Mon, 27 Feb 2023 19:47:04 +0000 Subject: [PATCH 2/2] Add PHP 8 and PHP 8.1 support --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 8ab3a66..582f447 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "source": "https://github.com/mpociot/versionable" }, "require": { - "php": ">=7.1.0 || >=7.2.5", + "php": ">=7.1.0 || >=7.2.5 || >=8.0 || >=8.1", "illuminate/support": "~5.3 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0" }, "require-dev": {