55 Commits (e719be501ecf30944fd62b172b2ef1811d42fbbf)

Author SHA1 Message Date
Jordi Boggiano c12a1a6d64
Update flag description 4 years ago
Kuba Werłos a54bf0e2d4 Use flags instead of boolean in ConfigValidator for checking version field 4 years ago
Kuba Werłos 4ec73874cb Add "no-check-version" option to ValidateCommand 4 years ago
Guilliam Xavier a17e7e9bd3
ValidateCommand: fix array syntax for PHP 5.3 4 years ago
Jordi Boggiano ff8bf0ab82
Clarify code
Co-Authored-By: Guilliam Xavier <guilliamxavier@users.noreply.github.com>
4 years ago
Guilliam Xavier a222ec5b36
ValidateCommand: remove actually unused code 4 years ago
Guilliam Xavier 35562dcd49
ValidateCommand: add a comment that we didn't forget $lockErrors 4 years ago
Guilliam Xavier 2f4bd85219
ValidateCommand: de-invert if-elseif-else to reduce code duplication 4 years ago
Guilliam Xavier 901d177179
ValidateCommand: factorize $printSchemaUrl code 4 years ago
Guilliam Xavier b5e41d6792
ValidateCommand: always display all warnings, independently of --strict 4 years ago
Guilliam Xavier 7e2679ffc1
ValidateCommand: pass $isStrict to outputResult() of with-dependencies too 4 years ago
Jordi Boggiano ef6ef8ac0f
Hint at the partial update command, fixes #8508, refs #8332 5 years ago
Markus Staab c876613d5c Added "Read more at" links to all commands (#8019) 5 years ago
Jordi Boggiano abcde19022 Document --no-check-all better, fixes #7889 5 years ago
Ahammar Yassine 4a8c416a02
Update ValidateCommand.php
Skip publish and lock check even in strict check mode when the user want so.
Example : `composer validate --no-check-lock --strict composer.json`.
Issue : #7624
6 years ago
Jordi Boggiano 0fdf746ebe Fix --no-plugins not working in certain edge cases 6 years ago
Jordi Boggiano ff59bbdab0 CS fixer 6 years ago
Markus Staab ecb26c7b75 support COMPOSER env var in validate command (#6834)
* support COMPOSER env var in validate command
7 years ago
Sven Luijten b4a77e1c0e Add full stop to all command descriptions 8 years ago
Rob Bast a245c4618b php-cs-fixer 8 years ago
Niels Keurentjes 692a3ed300 Renamed Composer\Console\Command to BaseCommand for consistency with other abstract base classes. 8 years ago
Alexander Stehlik 298e7a218a Trigger event in validate command
This allows plugins to run additional validations.
9 years ago
Jordi Boggiano f5e0fc14b3 Clarify some error messages, fixes #3770 9 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Jordi Boggiano 9f2e562e48 Add --strict flag to validate command to treat warnings as failures as well, refs #3202 9 years ago
Jordi Boggiano e61b3a6370 Allow the validate command to validate dependencies with -A/--with-dependencies, refs #3202 9 years ago
Olivier Laviale cc522c20bb Optimized this->getIO() 9 years ago
Andreas Möller 5828f6202d Enhancement: Also validate lock file 9 years ago
Possum 2e99b9fdf5 Use https where possible 9 years ago
Kunal Mehta 05e196893b Add --no-check-publish option to "composer validate"
This is useful when you want to use composer to manage dependencies, but
don't actually want your project to be installable as a composer package.

Any issues that would prevent publishing are still shown, but as a warning
instead of an error.
9 years ago
Rob Bast cb336a5416 Implement writeError throughout Composer 9 years ago
Jérôme Macias 4f417e3985 Add --no-check-all option to composer validate command 10 years ago
Jordi Boggiano ee0cd07468 CS fixes 12 years ago
Johannes M. Schmitt 4e769e1100 moved some code to a dedicated class 12 years ago
Jordi Boggiano 5777aa8087 Fix typo in validate command 12 years ago
Jordi Boggiano c65af3e3a1 Add ValidatingArrayLoader and more validation for the validate command 12 years ago
Jordi Boggiano f8d671a07a Tweak exception message 12 years ago
Henrik Bjørnskov 0e73f3187b Validate the name.
If uppercase characters is found suggest a new name with all lowercase
and using - as a seperator where the camelcased characters was found.
12 years ago
Jordi Boggiano db16f68fbf Tweak exception messages 12 years ago
Jordi Boggiano 99e3cad0b5 Soften wording on validation of licenses 12 years ago
Jordi Boggiano 1bd4ccbd54 php-cs-fixer magic 12 years ago
Jordi Boggiano ca558369fc Fix bug in ValidateCommand 12 years ago
Jordi Boggiano 160d2e0847 Minor style fix 12 years ago
Jordi Boggiano e84e550df3 Refactor validate command to offer more flexibility in adding validation 12 years ago
Jordi Boggiano fd38971777 Fix CS & simplify code 12 years ago
Tom Klingenberg 74ca58bcb6 Use of SPDX license identifiers. 12 years ago
Jordi Boggiano 7f65dd7409 Use RemoteFilesystem everywhere we do http requests 12 years ago
Jordi Boggiano 82dd1c1f7f Add relaxed schema for application packages that do not need to be distributed 12 years ago
Jordi Boggiano bd54e43d37 Rework JsonFile API slightly, avoid tokenizing in php if the syntax is valid 12 years ago
digitalkaoz 6929c42848 added schema/syntax validation for composer.json 13 years ago