388 Commits (d916ac1af30c0a534e5c9f4e900a938709598dfb)

Author SHA1 Message Date
Stephan 866d2a49b2
GitDriver: try to fetch default branch form remote using auth (#10701) 2 years ago
Stephan ef12e42bdb
GitDriver: try to fetch default branch from remote (#10687)
The initial clone determined what the default branch of the cache git repository was. Changing it on the remote didn't have any impact on the local data. However, cloning it on a different machine would then store a different default branch on that machine. This could lead to different results for the same command on different machines.
3 years ago
Jordi Boggiano 6bd75d5738
Update phpstan & baseline (2158, 104) 3 years ago
Jordi Boggiano b0665981c2
Parallellize the branch comparisons to speed up bootstrapping/version guessing when on a feature branch (#10632)
* Parallellize the branch comparisons to speed up bootstrapping/version guessing when on a feature branch, fixes #10568

* Allow ProcessExecutorMock to function with async calls
3 years ago
Jordi Boggiano 6a466a120a
Enable strict types on all files 3 years ago
Jordi Boggiano 3cdca37e85
Fix strict type issues 3 years ago
Jordi Boggiano 0db443ba5f
Add visibility to all consts, fixes #10550 3 years ago
Jordi Boggiano 7abc8da7d3
Add more types 3 years ago
Jordi Boggiano 6da38f83a0
Add parameter types to all the things 3 years ago
Alexander Schranz e9b60580f5
Add return types to tests (#10) 3 years ago
Jordi Boggiano eda9014bef
Add return types to all code which is not being extended by open source packages 3 years ago
Jordi Boggiano a16ed3d0ed
Add return types to private/internal methods 3 years ago
Jordi Boggiano abdc6893a6
Add void types where no return statement is present 3 years ago
Jordi Boggiano 86fb8d4412
Fix CS 3 years ago
Jordi Boggiano 63b5f2737b
Merge branch '2.2' into main 3 years ago
Stephan 3eb12efae5
VcsRepositories: handle initialize with invalid repository URL (#10525) 3 years ago
Volodymyr Panivko a0b0ddcd73
Add config option for update reference in path repository (#10488) 3 years ago
Jordi Boggiano 4b67a97a25
Update baseline 3 years ago
Jordi Boggiano 3446091027
Merge branch '2.2' into main 3 years ago
Florian Engelhardt 3d82719b70
Fix package search not urlencoding the input (#10500) 3 years ago
Jordi Boggiano bf1ad4d240
Make sure test runs in isolated dir 3 years ago
Jordi Boggiano 4e6d54b731
Fix all 5.3 $this-in-closure usages 3 years ago
Jordi Boggiano 0b3adc84da
Fix a few phpstan errors and add a php8+ baseline for the rest 3 years ago
Jordi Boggiano a4a2b6da87
Make SvnDriverTest and XzDownloaderTest more portable on Windows 3 years ago
Jordi Boggiano 96486d81cb
Fix many PHPStan issues and update baseline 3 years ago
Jordi Boggiano 6ed3aeb343
Remove setExpectedException wrapper 3 years ago
Jordi Boggiano ffd62795bc
Get rid of all the ->at() mock invocations 3 years ago
Jordi Boggiano 2a771dfb2d
Update PHPUnit to 8.5 3 years ago
Jérôme Tamarelle f0060b7f56
Use web URLs for Gitlab support metadata (#10377) 3 years ago
Jordi Boggiano 4e3d812212
Fix phpstan warnings 3 years ago
Jordi Boggiano 63c897eaf0
Fix test issues with new composer repo caching 3 years ago
Helmut Hummel ace8a1776c
Add composer platform package with exact Composer version (#10313)
Co-authored-by: Lars Strojny <lars.strojny@internations.org>
Co-authored-by: Nils Adermann <naderman@naderman.de>
3 years ago
Jordi Boggiano f509c41280
Upgrade PHPStan to 1.0 (#10253)
Co-authored-by: Martin Herndl <martin@herndl.org>
3 years ago
Raphael de Almeida 150acc5559
Removed HgBitbucketDriver support (#10248) 3 years ago
Martin Herndl 5b47fa1896
Add back abandoned key in repository search results (#10259) 3 years ago
Jordi Boggiano e5fc8a9c72
Fix phpstan error 3 years ago
Jordi Boggiano 44b69ba77f
Upgrade php-cs-fixer to 3.x and fix CS 3 years ago
Martin Herndl d51c7685da
Add types to `Repository` tests (#10227) 3 years ago
Jordi Boggiano a6f1e803b1
Use more BasePackage instead of PackageInterface 3 years ago
Jordi Boggiano c3c6969cf5
Type annotations 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 74b231a4bc
Fix lib-openssl detection on FreeBSD, fixes #10046 3 years ago
Jordi Boggiano a586a753df
Fix all remaining php8.1 test suite deprecations 3 years ago
Jordi Boggiano b232ee6663
Fix test 3 years ago
Jordi Boggiano 24f5e54fbe
Fix only/exclude to avoid matching names as sub-strings of full package names, fixes #10001 3 years ago
Jordi Boggiano 005c55185a
Fix support for writing into UNC paths, and comparing UNC paths correctly in InstalledVersions, fixes #9993 3 years ago
Brad Jones dd625669e8
Introduce gitlab-protocol option to force the gitlab repos to use https or git protocol (#9401) 3 years ago
Jordi Boggiano 3fe4f84a76
Fix handling of metapackages with null paths, and handling of paths which do not have a shortest-path and require an absolute path to be addressed 3 years ago
Jordi Boggiano 518b44a810
Clean up dump code to avoid reimplementing var export, and remove DIRECTORY_SEPARATOR 3 years ago
Jochen Roth b6c9d34125
Add install-path and type to installedVersions.php and installed.php, add method to get installed packages by type
Issue https://github.com/composer/composer/issues/9648
3 years ago