362 Commits (32dcb93f244a8fe3ca9fd4c90ad5ef6e7a8b3cb7)

Author SHA1 Message Date
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
Michael Voříšek 5456cf8197
Fix EOL of text files (#9877) 3 years ago
Jordi Boggiano 1179e4b481
Change root.dev-requirement to root.dev in installed.php as the root is not required per se, and this simply tracks the dev mode at install time 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
Nicolas Grekas 7d4501816c Allow querying InstalledVersions::isInstalled() for no-dev packages 3 years ago
Jordi Boggiano 6035e462d8
Fix test when on feature branch 3 years ago
Jordi Boggiano 902174d2a7
Improve error reporting when failing to load a package, fixes #9680 3 years ago
Jordi Boggiano 07b8c23f02
Merge branch '1.10' 3 years ago
Nicolas Grekas 725b33ee5a Handle "versions" option in PathRepository, remove support for "branch-version" 3 years ago
Nicolas Grekas 079e501ac8 Revert "Merge pull request #9273 from nicolas-grekas/dev-version"
This reverts commit d2d606ced2, reversing
changes made to 4a8dbcd145.
3 years ago
Jordi Boggiano b7d770659b
CS fixes 4 years ago
Andrés De la Cruz 480a6439fd
Fix phpstan phpdocs issues (#9478) 4 years ago
Jordi Boggiano 56c65a58e2
Make platform-check only check non-dev requires, refs #9412 4 years ago
Jordi Boggiano 4797d4afc8
Fix tests 4 years ago
Jordi Boggiano 28e591dcd4
Merge pull request #9387 from studioromeo/fix-git-non-master-default-failing-tests
Fix git init -b being unavailable for older versions
4 years ago
Robert Rhoades 2ced7b0bf8 Fix git init -b being unavailable for older versions
On older versions of git init doesn't have the -b flag. That
was introduced in v2.28.0.

Instead switch to using git checkout -b which has much
wider support (2.4.12 was as far back as I could check on
the docs).
4 years ago
Jordi Boggiano 372af31d23
Fix tests 4 years ago
Robert Rhoades e6c7ab693e Fix running tests with non standard default branch
When the global git config has init.defaultbranch set to
something other than master the tests fail. This is because
the tests assume that the default branch is called master
but that may not be the case.

This fixes the tests by ensuring that when running git init
we ensure the default branch is called master regardless of
how git is configured.
4 years ago
Jordi Boggiano 528030716e
Fix tests 4 years ago
Jordi Boggiano bafdf9f705
Merge branch '1.10' 4 years ago
Nicolas Grekas 893fbfcb89 Add support for "extra.branch-version" 4 years ago
Jordi Boggiano 03b8c3db3f
Merge branch '1.10' 4 years ago
Nicolas Grekas f9913205dd Fix VcsRepositoryTest 4 years ago
Jordi Boggiano 1593b67230
Fix warnings on higher phpunit versions 4 years ago
Jordi Boggiano 9a04ecefbf
Merge branch 'master' into filter-packages 4 years ago
Lars Strojny 3e750b69f4
Fix name 4 years ago
Lars Strojny a83588f568
The proper fix 4 years ago