395 Commits (6fdd9494efa2d5d638db1be6cb669668ced4fa4f)

Author SHA1 Message Date
Stephan 1f6f4a786e
BitbucketDriver: remove unnecessary HTTP call to fetch the root identifier (#10729) 2 years ago
Jordi Boggiano d7ad2093f6
Merge branch '2.2' into main 2 years ago
Jordi Boggiano 9a62ef7ff2
Add missing return type 2 years ago
Jordi Boggiano a1f9baa118
Fix 5.3/5.4 builds 2 years ago
Jordi Boggiano 615530f0a1
Merge branch '2.2' into main, update baseline (2085, 104) 2 years ago
Stephan 2c40c53637
Merge pull request from GHSA-x7cr-6qr6-2hh6
* GitDriver: filter branch names starting with a - character

* GitDriver: getFileContent prevent identifiers starting with a -

* HgDriver: prevent invalid identifiers and prevent file from running commands

* HgDriver: filter branches starting with a - character
2 years ago
Stephan a5e35f911b
GitDriver: fix test for remote identifier on windows (#10727) 2 years ago
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