Merge pull request #10057 from nicholsonjf/docs-double-pipe-note
Note in docs about how single pipes are treatedpull/10065/head
commit
a72784c4da
|
@ -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`
|
||||||
|
|
Loading…
Reference in New Issue