1
0
Fork 0

Explicit the version where script-aliases was included (#11847)

Since this was included in a minor version, it's nice to tell the user if this feature is available on the version they're running or if they need to upgrade. If it's not available, the only hint (besides the missing aliases on `composer list`) is the mild complaint at `composer validate`.
pull/11866/head
Igor Santos 2024-02-15 07:42:14 -03:00 committed by GitHub
parent 8c61f812a4
commit 596a384c97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -425,7 +425,7 @@ To set an environment variable in a cross-platform way, you can use `@putenv`:
} }
``` ```
## Custom descriptions. ## Custom descriptions
You can set custom script descriptions with the following in your `composer.json`: You can set custom script descriptions with the following in your `composer.json`:
@ -442,9 +442,9 @@ describe what the scripts do when the command is run.
> **Note:** You can only set custom descriptions of custom commands. > **Note:** You can only set custom descriptions of custom commands.
## Custom aliases. ## Custom aliases
You can set custom script aliases with the following in your `composer.json`: As of Composer 2.7, you can set custom script aliases with the following in your `composer.json`:
```json ```json
{ {