41 Commits (6a466a120a404d1c5d492e5ca715841c491517fc)

Author SHA1 Message Date
Jordi Boggiano 6a466a120a
Enable strict types on all files 2 years ago
Jordi Boggiano 0db443ba5f
Add visibility to all consts, fixes #10550 2 years ago
Jordi Boggiano 6da38f83a0
Add parameter types to all the things 2 years ago
Alexander Schranz 1321bfca36
Add return types to closures (#9) 2 years ago
Jordi Boggiano eda9014bef
Add return types to all code which is not being extended by open source packages 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 f509c41280
Upgrade PHPStan to 1.0 (#10253)
Co-authored-by: Martin Herndl <martin@herndl.org>
3 years ago
Samuel Felipe 3ccb54832b
PHPStan level 6 in src/Composer/Command (#10214) 3 years ago
Anatoly Pashin b1a96a3141
PHPStan level 6 in src/Composer/Repository (#10197) 3 years ago
Jordi Boggiano d1c8a4d1b4
Lots of typing improvements 3 years ago
Jordi Boggiano 0761474599
Add type info to many properties/methods 3 years ago
Jordi Boggiano 4851f65318
Remove version argument from why and enforce it for why-not command, refs #9693 3 years ago
Jordi Boggiano 4b8c2aa121
Fix default version to be semver parseable, fixes #9342 4 years ago
Simon Berger 687f886d56 Moved duplicated table render code to a new method in BaseCommand 4 years ago
Jordi Boggiano 0aaa815268
Merge branch '1.10' 4 years ago
Bingqing Wang 63eb178297
compatible with symfony/console 5.0.0 getVerticalBorderChars() method 4 years ago
Jordi Boggiano 2d8a8ed7e3
Add InstalledRepository to clean up some concepts and usages, remove BaseRepository 4 years ago
Jordi Boggiano c5c6d44a0b
Refactor away some unnecessary RepositorySet usages 4 years ago
Jordi Boggiano 3fc7e10c5c
Improve error reporting of solver issues, refs #7779
Fixes #8525
Fixes #6513
4 years ago
Jordi Boggiano bc2a1d762a
Merge branch 'master' into 2.0 5 years ago
Alexander M. Turek 146aa4938f Command::execute() should always return an integer. 5 years ago
Nils Adermann 7036f99999 RepositorySet::findPackages now has an exactMatch option
Allows search for providers/replacers, or exact name search
6 years ago
Nils Adermann 1228bcdffc Internalize pool creation in repository set, store root aliases in set
The pool is still exposed too early in a few places which will require
further refactoring
6 years ago
Nils Adermann 6ef65e5319 Add a new RepositorySet class and restrict pool usage to the solver
Breaking change for the plugin interface so bumping the version of
composer-plugin-api to 2.0.0

First step for a refactoring of the package metadata loading mechanism
6 years ago
Jordi Boggiano ff59bbdab0 CS fixer 6 years ago
Jordi Boggiano 2bd34c0534 Merge branch '1.6' 6 years ago
Jordi Boggiano 78017bcbcb Fix support for uppercase package names in why/why-not commands, fixes #7198 6 years ago
Vladimir Reznichenko da9e00066c SCA: reduced repetitive methods references, used specialized PhpUnit assertions 6 years ago
Jordi Boggiano b6680b6f2a Fix why-not command to dig deeper when it is given a specific version it checks installed packages against that version's requirements 8 years ago
Niels Keurentjes eb77c0b7f5 phpDoc cleanup, removed unused imports, variables and parameters. 8 years ago
Niels Keurentjes 818c3e707a Ton of phpDoc fixes. 8 years ago
Jordi Boggiano 3933a7f404 Add conflict detection in why-not, fixes #5013 8 years ago
Jordi Boggiano a15779cf53 Fix issue handling false children in why-not command 8 years ago
Jordi Boggiano 27e1c4358e Fix show/depends commands to display and abort when a circular dep was reached, fixes #4983 8 years ago
Rob Bast a245c4618b php-cs-fixer 8 years ago
Jordi Boggiano 00d12526ec Restore OutputInterface type hint 8 years ago
Jordi Boggiano d7855d03c7 Fix some formatting and prettify the tree, refs #4917 8 years ago
Jordi Boggiano f681dbc51e Merge remote-tracking branch 'curry684/rewrite-depends' 8 years ago
Niels Keurentjes 22a6f6c612 phpdoc consistency. 8 years ago
Niels Keurentjes 75bb0d9b10 Implemented Prohibits and Depends correctly now. 8 years ago