1
0
Fork 0

Merge pull request #10057 from nicholsonjf/docs-double-pipe-note

Note in docs about how single pipes are treated
pull/10065/head
Jordi Boggiano 2021-08-18 12:11:09 +02:00 committed by GitHub
commit a72784c4da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -124,6 +124,11 @@ will be treated as a **logical OR**. AND has higher precedence than OR.
> unexpectedly installing versions that break backwards compatibility. > unexpectedly installing versions that break backwards compatibility.
> Consider using the [caret](#caret-version-range-) operator instead for safety. > Consider using the [caret](#caret-version-range-) operator instead for safety.
<!--blank line followed by comment markup to separate the block quotes-->
> **Note:** In older versions of Composer the single pipe (`|`) was the
> recommended alternative to the **logical OR**. Thus for backwards compatibility
> the single pipe (`|`) will still be treated as a **logical OR**.
Examples: Examples:
* `>=1.0` * `>=1.0`