1
0
Fork 0

Correct prohibits/why-not example command (#10994)

Running the example command `composer prohibits php:8` returns an error, "Not enough arguments (missing: "version")."
pull/10996/head
Christopher Charbonneau Wells 2022-08-16 02:45:35 -07:00 committed by GitHub
parent 104bf0d75d
commit 2152b20a94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: whether you can upgrade your server to PHP 8.0:
```sh ```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/cache v1.6.0 requires php (~5.5|~7.0)
doctrine/common v2.6.1 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) doctrine/instantiator 1.0.5 requires php (>=5.3,<8.0-DEV)