68 Commits (d5a8d2be22157b14f1683e3085ffe5ac895ba403)

Author SHA1 Message Date
Jordi Boggiano d5a8d2be22
Enable phpstan bleedingEdge 2 years ago
Jordi Boggiano 20e410f3a2
Fix inconsistent parameter names in inheritance trees 2 years ago
Jordi Boggiano 6a466a120a
Enable strict types on all files 2 years ago
Jordi Boggiano 89ce53250e
Final type additions 2 years ago
Jordi Boggiano 6da38f83a0
Add parameter types to all the things 2 years ago
Jordi Boggiano bab974575c
Merge branch '2.2' into main 2 years ago
Jordi Boggiano e3d99cac59
Fix phpstan issues, update baseline and pin PHPStan version in 2.2 branch (#10474) 2 years ago
Jordi Boggiano 7e27a25070
Get rid of RetutnTypeWillChange where possible, fixes #10014 2 years ago
Jordi Boggiano cc32ebcabd
Search improvements (#10336)
* Search performance improvements, add SEARCH_VENDOR type, fixes #10326, fixes #10324, fixes #10325

* Add extra optimization path for autocompletion of ^foo/* whereas the vendor is fully known, refs #10320
2 years ago
Jordi Boggiano 24ce1eddbd
Add composer/pcre dependency and use it everywhere instead of preg_* 2 years ago
Martin Herndl 5b47fa1896
Add back abandoned key in repository search results (#10259) 3 years ago
Jordi Boggiano c65d09dff7
Fix @inheritDoc annotations 3 years ago
Jordi Boggiano 0e96f363e1
Remove redundancy in package type 3 years ago
Anatoly Pashin b1a96a3141
PHPStan level 6 in src/Composer/Repository (#10197) 3 years ago
Jordi Boggiano d3c176ec69
PHPStan Level 5 (#10070)
* Bump PHPStan to level 5

* Update seld/phar-utils to latest

* Add phpstan-setup / phpstan scripts
3 years ago
Jordi Boggiano 10ae1d7b08
Fix some PHP 8.1 deprecation warnings, fixes #10008 3 years ago
Jordi Boggiano 4940009f83
Bump phpstan to level 3 (#9734)
Clean up PackageInterface/CompletePackageInterface, add missing methods, type things in solver as BasePackage, added CompleteAliasPackage, ..
3 years ago
Jordi Boggiano b7d770659b
CS fixes 4 years ago
Jordi Boggiano 22367a68f9
Avoid loading same packages multiple times 4 years ago
Jordi Boggiano 1c73f078f7
Remove repository field from getProviders result 4 years ago
Jordi Boggiano 08cee4c3e9
Implement getProviders equally on all repos 4 years ago
Jordi Boggiano 2d8a8ed7e3
Add InstalledRepository to clean up some concepts and usages, remove BaseRepository 4 years ago
Jordi Boggiano 3fc7e10c5c
Improve error reporting of solver issues, refs #7779
Fixes #8525
Fixes #6513
4 years ago
Jordi Boggiano 304753ff69
Remove callback and pass stabilities all the way instead
This allows optimizing the loading of ~dev files, and cleans up a few things
4 years ago
Jordi Boggiano 926afab1f4
Move loadPackages impl out of BaseRepository 4 years ago
Jordi Boggiano 44cdc37c0c
Invalidate map cache when addPackage/removePackage is called 5 years ago
Michael Thessel 96af983700 Fixed map initialization 5 years ago
Michael Thessel f8010d5220 Improved hasPackage() performance 5 years ago
Jordi Boggiano 43e33be79f Fix regression in 036fc44c25, fixes #7268 6 years ago
Jordi Boggiano 036fc44c25 Make sure aliased packages are removed correctly from the repository, fixes #7167 6 years ago
Pierre du Plessis 6a557e45b8 Added --type option to search 8 years ago
Jordi Boggiano 3b0a1c6f70 Run cs fixer and update config to latest master 8 years ago
Niels Keurentjes e6f21137ad Undefined or default return points fixed. 8 years ago
Jordi Boggiano f681dbc51e Merge remote-tracking branch 'curry684/rewrite-depends' 8 years ago
Jordi Boggiano c9436438ff Add memoization to parseConstraints, saves some (6-7% here) RAM and marginal CPU time 8 years ago
Niels Keurentjes 5c98421ae8 Introduce BaseRepository common ancestor class for all repositories to offload command logic. 8 years ago
Rob Bast a1427d7fd6 replace all occurences in code and comments 9 years ago
Malte Wunsch 767279b41a getCanonicalPackages returns packages with same name in different versions 9 years ago
Jordi Boggiano 801a7fcd0a Add support for constraints and not just exact versions in RepositoryInterface::findPackage/s 9 years ago
Jordi Boggiano 73e9db5d99 Fix the problem at the source, refs #3322 10 years ago
Jordi Boggiano faa419cc0e Merge remote-tracking branch 'hason/alias' 11 years ago
Jordi Boggiano 313b79ee13 Implement search over description/keywords, refs #1801 11 years ago
Jordi Boggiano 3a612dca01 Only return search matches once, fixes #1801 11 years ago
Martin Hasoň 753a8345cb Added support for the alias of an aliased package 11 years ago
Jordi Boggiano be861f090a Remove filterPackages and add RepositoryInterface::search, refactor all commands to use new methods and remove all usage of the full package list for Composer repositories that support providers, fixes #1646 11 years ago
Povilas Balzaravicius Pawka 57d1b5a37d Issue #1056. Fixed callback call error on search command. 12 years ago
Jordi Boggiano e3b6bd781c Add RepositoryInterface::filterPackages to stream ops on lists
This cuts down on memory usage and also speeds up the search command to a third of its previous time
12 years ago
Nils Adermann 4eb5f73718 Only create alias package in repositories on the fly if necessary, fixes #793 12 years ago
Jordi Boggiano 1bd4ccbd54 php-cs-fixer magic 12 years ago
Nils Adermann 0c1944a9d0 Let the solver handle aliases instead of the installer 12 years ago