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
9 years ago
Niels Keurentjes
692a3ed300
Renamed Composer\Console\Command to BaseCommand for consistency with other abstract base classes.
9 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
10 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.
10 years ago
Rob Bast
cb336a5416
Implement writeError throughout Composer
10 years ago
Jérôme Macias
4f417e3985
Add --no-check-all option to composer validate command
11 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
13 years ago
Jordi Boggiano
ca558369fc
Fix bug in ValidateCommand
13 years ago
Jordi Boggiano
160d2e0847
Minor style fix
13 years ago
Jordi Boggiano
e84e550df3
Refactor validate command to offer more flexibility in adding validation
13 years ago
Jordi Boggiano
fd38971777
Fix CS & simplify code
13 years ago
Tom Klingenberg
74ca58bcb6
Use of SPDX license identifiers.
13 years ago
Jordi Boggiano
7f65dd7409
Use RemoteFilesystem everywhere we do http requests
13 years ago
Jordi Boggiano
82dd1c1f7f
Add relaxed schema for application packages that do not need to be distributed
13 years ago
Jordi Boggiano
bd54e43d37
Rework JsonFile API slightly, avoid tokenizing in php if the syntax is valid
13 years ago
digitalkaoz
6929c42848
added schema/syntax validation for composer.json
13 years ago
Beau Simensen
e1370be7a0
Continued refactoring of install() method, mainly by way of adding Composite Repository
...
* Rewritten `install()` method now takes a repository instead of a list of packages (per @nadermen)
* Added Composite Repository
* Added tests for Composite Repository
* Removed "local repository" concept from Platform Repository
* Removed some `use` statements for Platform Repository where it was not actually being used
13 years ago
Jordi Boggiano
385075cda3
Cosmetic fixes
13 years ago
Jordi Boggiano
7caf61fc66
Set return code to non-zero when validate fails
13 years ago
Jordi Boggiano
d62a1ad1c1
Adjustments to the validate command
13 years ago
digitalkaoz
9a50fd6492
added validate task, closes #81
13 years ago