Skip to content

Commit

Permalink
Normalized composer.json (#675)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
huangdijia and huangdijia committed Jun 17, 2024
1 parent 574386a commit cc450fd
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "friendsofhyperf/support",
"description": "Another support component for Hyperf.",
"license": "MIT",
"type": "library",
"keywords": [
"hyperf",
"v3.1"
],
"type": "library",
"license": "MIT",
"authors": [
{
"name": "huangdijia",
Expand All @@ -19,17 +19,22 @@
"pull-request": "https://github.com/friendsofhyperf/components/pulls"
},
"require": {
"hyperf/di": "~3.1.0",
"hyperf/collection": "~3.1.0",
"hyperf/context": "~3.1.0",
"hyperf/di": "~3.1.0",
"hyperf/macroable": "~3.1.0",
"hyperf/pipeline": "~3.1.0",
"hyperf/stringable": "~3.1.0",
"hyperf/support": "~3.1.0",
"hyperf/tappable": "~3.1.0",
"laravel/serializable-closure": "^1.0",
"nesbot/carbon": "^2.0|^3.0"
"nesbot/carbon": "^2.0 || ^3.0"
},
"suggest": {
"hyperf/async-queue": "Required to use Hyperf\\AsyncQueue\\Job.(~3.1.0)",
"vlucas/phpdotenv": "Required to use Dotenv.(^5.0)"
},
"minimum-stability": "dev",
"autoload": {
"psr-4": {
"FriendsOfHyperf\\Support\\": "src"
Expand All @@ -38,21 +43,16 @@
"src/Functions.php"
]
},
"config": {
"optimize-autoloader": true,
"sort-packages": true
},
"extra": {
"hyperf": {
"config": "FriendsOfHyperf\\Support\\ConfigProvider"
},
"branch-alias": {
"dev-main": "3.1-dev"
},
"hyperf": {
"config": "FriendsOfHyperf\\Support\\ConfigProvider"
}
},
"suggest": {
"hyperf/async-queue": "Required to use Hyperf\\AsyncQueue\\Job.(~3.1.0)",
"vlucas/phpdotenv": "Required to use Dotenv.(^5.0)"
},
"minimum-stability": "dev",
"config": {
"sort-packages": true,
"optimize-autoloader": true
}
}

0 comments on commit cc450fd

Please sign in to comment.