diff options
| author | Zhineng Li <[email protected]> | 2026-01-21 16:04:08 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-01-21 16:04:08 +0800 |
| commit | ce5e7b546fb1bbde0a4f1888d17832b1a73a1075 (patch) | |
| tree | 25fca20a8e0f756000bd0b7884c1108004ebab16 /composer.json | |
| parent | 87fca42e3267bbb238e6a03f0af2a4688cbb318c (diff) | |
| download | region-china-ce5e7b546fb1bbde0a4f1888d17832b1a73a1075.tar.gz region-china-ce5e7b546fb1bbde0a4f1888d17832b1a73a1075.zip | |
support php 8.2
Diffstat (limited to 'composer.json')
| -rw-r--r-- | composer.json | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/composer.json b/composer.json index 687bc52..1538cf9 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "China region library for PHP.", "type": "library", "require": { - "php": "^8.3" + "php": "^8.2" }, "license": "MIT", "autoload": { @@ -24,11 +24,13 @@ ], "require-dev": { "symfony/var-exporter": "^7.2", - "phpunit/phpunit": "^12" + "phpunit/phpunit": "^11.4|^12.0" }, "scripts": { "test": "phpunit", "matrix": [ + "COMPOSER_FLAGS=--prefer-lowest docker compose run --rm php82", + "COMPOSER_FLAGS=--prefer-stable docker compose run --rm php82", "COMPOSER_FLAGS=--prefer-lowest docker compose run --rm php83", "COMPOSER_FLAGS=--prefer-stable docker compose run --rm php83", "COMPOSER_FLAGS=--prefer-lowest docker compose run --rm php84", |
