From 048be730474f6ea5de9450c2e529088f6a52f64b Mon Sep 17 00:00:00 2001 From: Deeka Wong Date: Mon, 17 Jun 2024 09:41:30 +0800 Subject: [PATCH] Normalized composer.json (#675) * Normalized composer.json * chore: Update composer.json and normalize formatting The changes in composer.json include updating the "json-fix" script to also run the "composer normalize" command. This ensures that the composer.json file is properly formatted and adheres to the defined standards. Additionally, the script now applies the "composer normalize" command to all composer.json files found in the ./src directory. Based on the recent user commits and repository commits, the commit message follows the established convention of using a prefix to indicate the type of change (`chore` for general maintenance or housekeeping). * chore: Update composer.json script to run "composer normalize" and apply it to all composer.json files in ./src directory * chore: Update composer.json script to run "composer normalize" and apply it to all composer.json files in ./src directory --------- Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com> --- composer.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 5290312..869239c 100644 --- a/composer.json +++ b/composer.json @@ -1,8 +1,8 @@ { "name": "friendsofhyperf/tinker", "description": "The Powerful REPL for Hyperf.", - "type": "library", "license": "MIT", + "type": "library", "keywords": [ "php", "hyperf", @@ -23,15 +23,15 @@ "pull-request": "https://github.com/friendsofhyperf/components/pulls" }, "require": { - "hyperf/command": "~3.1.0", "hyperf/collection": "~3.1.0", + "hyperf/command": "~3.1.0", "hyperf/contract": "~3.1.0", "hyperf/di": "~3.1.0", "hyperf/framework": "~3.1.0", "hyperf/stringable": "~3.1.0", "hyperf/support": "~3.1.0", "hyperf/tappable": "~3.1.0", - "psy/psysh": "^0.10.0|^0.11.0|^0.12.0" + "psy/psysh": "^0.10.0 || ^0.11.0 || ^0.12.0" }, "suggest": { "hyperf/view-engine": "Suggest for using `Hyperf\\ViewEngine\\HtmlString`." @@ -45,11 +45,11 @@ "sort-packages": true }, "extra": { - "hyperf": { - "config": "FriendsOfHyperf\\Tinker\\ConfigProvider" - }, "branch-alias": { "dev-main": "3.1-dev" + }, + "hyperf": { + "config": "FriendsOfHyperf\\Tinker\\ConfigProvider" } } }