Sfoglia il codice sorgente

chore(deps): 更新依赖包版本并调整PHP最低版本要求

- 将PHP最低版本要求从8.3提升至8.4
- 更新guzzlehttp/guzzle依赖至^7.10.0版本
- 更新psr/http-client依赖至^1.0.3版本
- 更新psr/http-factory依赖至^1.1.0版本
- 更新psr/log依赖至^3.0.2版本
- 移除了开发环境依赖及相关脚本配置
runphp 3 mesi fa
parent
commit
f8f5aef813
1 ha cambiato i file con 5 aggiunte e 17 eliminazioni
  1. 5 17
      composer.json

+ 5 - 17
composer.json

@@ -22,25 +22,13 @@
         }
     ],
     "require": {
-        "php": ">=8.3",
+        "php": ">=8.4",
         "ext-json": "*",
         "ext-curl": "*",
-        "guzzlehttp/guzzle": "^7.8",
-        "psr/http-client": "^1.0",
-        "psr/http-factory": "^1.0",
-        "psr/log": "^3.0"
-    },
-    "require-dev": {
-        "phpunit/phpunit": "^10.0",
-        "phpstan/phpstan": "^1.10",
-        "squizlabs/php_codesniffer": "^3.7",
-        "friendsofphp/php-cs-fixer": "^3.0"
-    },
-    "scripts": {
-        "test": "phpunit",
-        "phpstan": "phpstan analyse src",
-        "cs-fix": "php-cs-fixer fix",
-        "cs-check": "phpcs --standard=PSR12 src"
+        "guzzlehttp/guzzle": "^7.10.0",
+        "psr/http-client": "^1.0.3",
+        "psr/http-factory": "^1.1.0",
+        "psr/log": "^3.0.2"
     },
     "config": {
         "sort-packages": true,