1
0
Fork 0

Single pipe note

pull/10057/head
James Nicholson 2021-08-13 13:50:38 -04:00
parent 4da1a2d43a
commit 2d79f3381b
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`