From 2152b20a9483ea72243008ab95ae6e3bd639b759 Mon Sep 17 00:00:00 2001 From: Christopher Charbonneau Wells <10456740+cdubz@users.noreply.github.com> Date: Tue, 16 Aug 2022 02:45:35 -0700 Subject: [PATCH] Correct prohibits/why-not example command (#10994) Running the example command `composer prohibits php:8` returns an error, "Not enough arguments (missing: "version")." --- doc/03-cli.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/03-cli.md b/doc/03-cli.md index 1d262dfd7..93451b134 100644 --- a/doc/03-cli.md +++ b/doc/03-cli.md @@ -617,7 +617,7 @@ Note that you can also specify platform requirements, for example to check whether you can upgrade your server to PHP 8.0: ```sh -php composer.phar prohibits php:8 +php composer.phar prohibits php 8 doctrine/cache v1.6.0 requires php (~5.5|~7.0) doctrine/common v2.6.1 requires php (~5.5|~7.0) doctrine/instantiator 1.0.5 requires php (>=5.3,<8.0-DEV)