From 507284c56e37613546fd9553d96fef02ae0215a4 Mon Sep 17 00:00:00 2001 From: sagautam5 Date: Sun, 7 Apr 2024 13:33:17 +0545 Subject: [PATCH] set required php version above 8.0 and php8 supported information --- README.md | 11 +++++++++-- composer.json | 2 +- composer.lock | 30 +++++++++++++++--------------- 3 files changed, 25 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 55c32e0..bf70f07 100644 --- a/README.md +++ b/README.md @@ -26,14 +26,21 @@ Image Source: [Wikipedia(Administrative divisions of Nepal)](https://simple.wiki PHP >= 7.0 - Version v1.0.8 has been tested on following php versions. + Version **v1.0.8** has been tested on following php versions. - 7.0 - 7.1 - 7.2 - 7.3 - 7.4 - + + Current **dev-master** has been tested on following php versions. + + - 8.0 + - 8.1 + - 8.2 + - 8.3 + ## Demo You can view Province -> District -> Municipality -> Wards in following demo. diff --git a/composer.json b/composer.json index fc1210c..7088e3a 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ } ], "require": { - "php": "^8.0" + "php": ">=8.0" }, "require-dev": { "phpunit/phpunit": "9.6.*" diff --git a/composer.lock b/composer.lock index bb3a805..50569aa 100644 --- a/composer.lock +++ b/composer.lock @@ -4,35 +4,35 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "017d87652f2c2a4bcb03aeb48d38a387", + "content-hash": "a555d306f430af55c8dec5c2a59d0e87", "packages": [], "packages-dev": [ { "name": "doctrine/instantiator", - "version": "1.5.0", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b" + "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b", - "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", + "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "php": "^8.1" }, "require-dev": { - "doctrine/coding-standard": "^9 || ^11", + "doctrine/coding-standard": "^11", "ext-pdo": "*", "ext-phar": "*", - "phpbench/phpbench": "^0.16 || ^1", - "phpstan/phpstan": "^1.4", - "phpstan/phpstan-phpunit": "^1", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "vimeo/psalm": "^4.30 || ^5.4" + "phpbench/phpbench": "^1.2", + "phpstan/phpstan": "^1.9.4", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.5.27", + "vimeo/psalm": "^5.4" }, "type": "library", "autoload": { @@ -59,7 +59,7 @@ ], "support": { "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/1.5.0" + "source": "https://github.com/doctrine/instantiator/tree/2.0.0" }, "funding": [ { @@ -75,7 +75,7 @@ "type": "tidelift" } ], - "time": "2022-12-30T00:15:36+00:00" + "time": "2022-12-30T00:23:10+00:00" }, { "name": "myclabs/deep-copy", @@ -1754,7 +1754,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "^8.0" + "php": ">=8.0" }, "platform-dev": [], "plugin-api-version": "2.6.0"