From 2d79f3381bf7b5287ecc219e7029fdbb983c18d9 Mon Sep 17 00:00:00 2001 From: James Nicholson Date: Fri, 13 Aug 2021 13:50:38 -0400 Subject: [PATCH] Single pipe note --- doc/articles/versions.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/articles/versions.md b/doc/articles/versions.md index b1f71f0fc..47f1f8910 100644 --- a/doc/articles/versions.md +++ b/doc/articles/versions.md @@ -124,6 +124,11 @@ will be treated as a **logical OR**. AND has higher precedence than OR. > unexpectedly installing versions that break backwards compatibility. > Consider using the [caret](#caret-version-range-) operator instead for safety. + +> **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: * `>=1.0`