36 Commits (6a466a120a404d1c5d492e5ca715841c491517fc)

Author SHA1 Message Date
Jordi Boggiano 6a466a120a
Enable strict types on all files 2 years ago
Jordi Boggiano abdc6893a6
Add void types where no return statement is present 2 years ago
Jordi Boggiano 5c98a2cf8e
Add phpstan-symfony to get type info about console InputInterface, fix many errors (#10476)
Extract common init/require commands functionality into PackageDiscoveryTrait
Extract some helper methods into BaseCommand for better types
2 years ago
Jordi Boggiano c65d09dff7
Fix @inheritDoc annotations 3 years ago
Samuel Felipe 3ccb54832b
PHPStan level 6 in src/Composer/Command (#10214) 3 years ago
username e719be501e Remove unnecessary method call 4 years ago
Jordi Boggiano 9b8694bc0b
Show suggestions from root package in suggest, and lists them in count only on first install of a project, fixes #8805 4 years ago
Jordi Boggiano fa14cd1353
Show number of additional suggestions when not using --all, fixes #8788 4 years ago
Jordi Boggiano 94e6cfc521
Only show direct dependencies suggestions by default, add --all flag to see all in suggest command, fixes #8660 4 years ago
Jordi Boggiano f35cd8948a
Minor refactoring of RootPackageRepo 4 years ago
Jordi Boggiano 44d1e15294
Simplify suggester output when updating, refactor suggest command to reuse SuggestedPackagesReporter and make smarter defaults, fixes #6267 4 years ago
Jordi Boggiano bc2a1d762a
Merge branch 'master' into 2.0 5 years ago
Jordi Boggiano 78b8c365cd
Merge branch '1.9' 5 years ago
Jordi Boggiano d73cef3fb4
Avoid calling findPackage for non-platform packages 5 years ago
Tyson Andre 4c8e41d9a9 Fix misc phpdoc and strpos arg order nits
https://www.php.net/strpos has the signature
`strpos ( string $haystack , mixed $needle [, int $offset = 0 ] ) : int`
(The needle is usually the constant)

`strpos('/', $suggestion)` would only be `false` for `''` and `'/'`

So the existing check would just not suggest **anything** that was
already installed (from pecl, built-in, or composer).

The intent seems to be to not suggest non-vendored php packages
that were already installed. (b20cc22ebb)
5 years ago
Alexander M. Turek 146aa4938f Command::execute() should always return an integer. 5 years ago
Jordi Boggiano 0317199507
Merge branch 'master' into 2.0 5 years ago
Markus Staab c876613d5c Added "Read more at" links to all commands (#8019) 5 years ago
Matthew Brown 65903aacfd Fix type issues (#7996)
* Fix type issues found by Psalm
5 years ago
Jordi Boggiano ff59bbdab0 CS fixer 6 years ago
Vladimir Reznichenko c8615358cb SCA with PHP Inspections (EA Extended) 7 years ago
Issei.M 0856dfa084 Aligns the verb form of commands' description 7 years ago
Sven Luijten b4a77e1c0e Add full stop to all command descriptions 7 years ago
Jordi Boggiano 0ed5b541a9 Fix CS 8 years ago
Jordi Boggiano 12b860733f -v should not show everything twice, refs #4846 8 years ago
Jordi Boggiano 44cfad36b7 Merge remote-tracking branch 'curry684/sort-suggestions' 8 years ago
Niels Keurentjes 692a3ed300 Renamed Composer\Console\Command to BaseCommand for consistency with other abstract base classes. 8 years ago
Niels Keurentjes b20cc22ebb Improved output of SuggestsCommand by correctly filtering installed platform requirements if suggested. 8 years ago
Niels Keurentjes 1b97d07bca Processed PR feedback 8 years ago
Niels Keurentjes d6589ac151 Rewrote SuggestsCommand 8 years ago
Jordi Boggiano 0964c02acb Use only one level of verbosity 9 years ago
Rob Bast 3dffdc8705 don't suggest packages already installed 9 years ago
Rob Bast 680082c5fe output based purely on verbosity 9 years ago
Rob Bast 33f78b2ccc limit suggestions to optional list of packages 9 years ago
Rob Bast 760eeb0b03 reworked suggests command 9 years ago
Gusakov Nikita f1af16984e [Command] Add suggests command 9 years ago