Jordi Boggiano
6da38f83a0
Add parameter types to all the things
2 years ago
Jordi Boggiano
f9d61c0665
Add links to repo to fund/licenses/search commands and add links to docs to config command
3 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
3 years ago
Martin Herndl
5b47fa1896
Add back abandoned key in repository search results ( #10259 )
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
1b34495daa
Some phpstan level 4 fixes
3 years ago
Jordi Boggiano
4c9e75c6e5
Fix CS
3 years ago
Jordi Boggiano
5d6f9b2528
Prefer @phpstan- annotations as that is what we run against
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
6f9b39180c
Add phpdocs
4 years ago
Jordi Boggiano
59c831c2f8
Add docs to loadPackages
4 years ago
Markus Staab
593d5abf27
use more precise phpstan/psam return-types ( #8744 )
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
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
5 years ago
Jordi Boggiano
47a94b3a88
Ensure packages that exist in a higher prio repo never get loaded in lower prio repos, fixes #5076
5 years ago
Jordi Boggiano
ab945a6ec1
Clean up RepositoryInterface, fixes #5464
5 years ago
Jordi Boggiano
346de47af2
Small fixes
6 years ago
Jordi Boggiano
2e0f31106a
Merge remote-tracking branch 'origin/master' into 2.0
6 years ago
Jordi Boggiano
0124e7b553
Revert "add removePackage() to RepositoryInterface"
...
This reverts commit cfb0d33c45
.
Fixes #7634
6 years ago
Nils Adermann
5c491ecc9b
Merge pull request #7625 from naderman/repository-set
...
Separate RepositorySet from Package Pool, load only metadata of packages directly required
6 years ago
Nils Adermann
261efe1e8e
Implement loadPackages on Composer repositories with providers
6 years ago
Nils Adermann
c0f19f6c57
Move construction of pool from repo set into a pool builder
...
Pool construction depends on the install request now, so only required
packages get loaded, add some structure for future asynchronously
loading composer repositories
6 years ago
Rob Bast
cfb0d33c45
add removePackage() to RepositoryInterface
6 years ago
Gabriel Caruso
3d262bd637
Fixes from PHPStan level 0
...
More fixes from PHPStan level 0
7 years ago
Jordi Boggiano
122e422682
CS fixes
7 years ago
Pierre du Plessis
f29b3e86ce
Remove type parameter from RepositoryInterface
...
Fixes #5458
Remove the `$type` parameter from `RepositoryInterface` to alleviate the BC break for plugins.
8 years ago
Pierre du Plessis
6a557e45b8
Added --type option to search
8 years ago
Sullivan SENECHAL
4f4d236be3
PackageInterface[] on RepositoryInterface php doc
9 years ago
Rob Bast
a1427d7fd6
replace all occurences in code and comments
9 years ago
Jordi Boggiano
801a7fcd0a
Add support for constraints and not just exact versions in RepositoryInterface::findPackage/s
9 years ago
Jordi Boggiano
8d0b7f278e
CS fixes
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
Jordi Boggiano
ee0cd07468
CS fixes
12 years ago
Jordi Boggiano
e1bd2fd6df
Clean ups after feedback
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
Jordi Boggiano
66e9dcddf4
CS fixes
12 years ago
Jordi Boggiano
c440b4594a
More PSR-2 goodness
12 years ago
Jordi Boggiano
1bd4ccbd54
php-cs-fixer magic
12 years ago
Jordi Boggiano
5eb333680b
Rename findPackagesByName to findPackages and allow version arg
13 years ago
Christophe Coevoet
bd1d20b2c9
Fixed CS
13 years ago
Christophe Coevoet
fc17e26bc3
Added a method to find packages by name
13 years ago
Jordi Boggiano
f6b9488bf0
Move root package handling to a dedicated loader and make ArrayLoader more strict
13 years ago
Jordi Boggiano
9b24734c9d
Add parsing and on-the-fly loading of repositories defined in packages
13 years ago
everzet
cc2f2b79ca
added findPackage() method to the RepositoryManager and RepositoryInterface
13 years ago
everzet
5c841187fd
Fixed RepositoryInterface
13 years ago