chore: widen PHP version constraint to 8.5 and bump dev deps

- Add PHP 8.2/8.3/8.4/8.5 to version constraint
- Bump php-cs-fixer from ^3.2 to ^3.64
- Bump phpstan from ^1.1 to ^1.12
- Drop phpunit ^8.5 (EOL), keep ^9.0 only
This commit is contained in:
crazywhalecc
2026-06-17 14:51:46 +08:00
parent 8a72831c5c
commit c4367bef61

View File

@@ -25,7 +25,7 @@
], ],
"minimum-stability": "stable", "minimum-stability": "stable",
"require": { "require": {
"php": "^7.2 || ^7.3 || ^7.4 || ^8.0 || ^8.1", "php": "^7.2 || ^7.3 || ^7.4 || ^8.0 || ^8.1 || ^8.2 || ^8.3 || ^8.4 || ^8.5",
"psr/log": "^1 || ^2 || ^3", "psr/log": "^1 || ^2 || ^3",
"symfony/polyfill-mbstring": "^1.0" "symfony/polyfill-mbstring": "^1.0"
}, },
@@ -37,9 +37,9 @@
"ext-mbstring": "Use C/C++ extension instead of polyfill will be more efficient" "ext-mbstring": "Use C/C++ extension instead of polyfill will be more efficient"
}, },
"require-dev": { "require-dev": {
"friendsofphp/php-cs-fixer": "^3.2", "friendsofphp/php-cs-fixer": "^3.64",
"phpstan/phpstan": "^1.1", "phpstan/phpstan": "^1.12",
"phpunit/phpunit": "^8.5 || ^9.0", "phpunit/phpunit": "^9.0",
"roave/security-advisories": "dev-latest", "roave/security-advisories": "dev-latest",
"brainmaestro/composer-git-hooks": "^2.8" "brainmaestro/composer-git-hooks": "^2.8"
}, },