Browse Source

Merge branch '1.8'

Jordi Boggiano 6 years ago
parent
commit
f1297b11bc
2 changed files with 2 additions and 2 deletions
  1. 1 1
      doc/03-cli.md
  2. 1 1
      src/Composer/Command/ValidateCommand.php

+ 1 - 1
doc/03-cli.md

@@ -493,7 +493,7 @@ php composer.phar validate
 
 ### Options
 
-* **--no-check-all:** Do not emit a warning if requirements in `composer.json` use unbound version constraints.
+* **--no-check-all:** Do not emit a warning if requirements in `composer.json` use unbound or overly strict version constraints.
 * **--no-check-lock:** Do not emit an error if `composer.lock` exists and is not up to date.
 * **--no-check-publish:** Do not emit an error if `composer.json` is unsuitable for publishing as a package on Packagist but is otherwise valid.
 * **--with-dependencies:** Also validate the composer.json of all installed dependencies.

+ 1 - 1
src/Composer/Command/ValidateCommand.php

@@ -39,7 +39,7 @@ class ValidateCommand extends BaseCommand
             ->setName('validate')
             ->setDescription('Validates a composer.json and composer.lock.')
             ->setDefinition(array(
-                new InputOption('no-check-all', null, InputOption::VALUE_NONE, 'Do not make a complete validation'),
+                new InputOption('no-check-all', null, InputOption::VALUE_NONE, 'Do not validate requires for overly strict/loose constraints'),
                 new InputOption('no-check-lock', null, InputOption::VALUE_NONE, 'Do not check if lock file is up to date'),
                 new InputOption('no-check-publish', null, InputOption::VALUE_NONE, 'Do not check for publish errors'),
                 new InputOption('with-dependencies', 'A', InputOption::VALUE_NONE, 'Also validate the composer.json of all installed dependencies'),