141 Commits (32852304d0c8823fe535dfc5b19e68952d4a6f41)

Author SHA1 Message Date
Jordi Boggiano 86fb8d4412
Fix CS 2 years ago
Jordi Boggiano 5e4a8a882d
Allow ProcessExecutor to receive commands as arrays, refs #6552 (#10435) 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
Martin Herndl 3013674c92
Refactor ignore platform reqs checks (#10079)
Introduces a `PlatformRequirementFilter` with methods that help to decide if a requirement is ignored or not as discussed in #10045 but without changing behaviour.
3 years ago
Martin Herndl bcbd8fdb61
Add types to `Package` tests (#10245) 3 years ago
Jordi Boggiano 44b69ba77f
Upgrade php-cs-fixer to 3.x and fix CS 3 years ago
Cédric Anne a7686e82f0
Filter candidates requiring an unknown platform package; fixes #10167 (#10184) 3 years ago
Jordi Boggiano dd49db6f08
Make sure that names with wildcards which are not preceded by dots are also seen as package names and not version constraints 3 years ago
Jordi Boggiano b77fce8a4f
More deprecation fixes by using ProcessExecutorMock and a couple of PackageInterface type fixes 3 years ago
Jordi Boggiano 5062619046
Fix deprecation warnings with strpos receiving null 3 years ago
Jordi Boggiano 459a7d9623
Use a simpler suggested require version of * to keep things simple for extensions which are versioned like PHP, fixes #9483 3 years ago
Jordi Boggiano 62bd81bf7a
Make sure the default branch alias is never used as a constraint by the VersionSelector 4 years ago
Jordi Boggiano 03b8c3db3f
Merge branch '1.10' 4 years ago
Nils Adermann 89afb823b6 VersionGuesser: Add test for remote version guess 4 years ago
Nils Adermann db2f09a361 VersionGuesser: Update tests to match new git command generated 4 years ago
Michael Telgmann a4509d28e7
Introduce constants for Composer\Package\Link types 4 years ago
Jordi Boggiano bee91155a1
Fix guessing of default branch when HEAD is a non-feature-branch 4 years ago
Jordi Boggiano 05dacbdabb
Rename DEV_MASTER_ALIAS to DEFAULT_BRANCH_ALIAS 4 years ago
Jordi Boggiano 74d89d7110
Get rid of default branch handling in version guesser as it is way too time intensive at every initialization 4 years ago
Jordi Boggiano 6f0e5996de
Treat default branch name as a non-feature-branch no matter what it is called 4 years ago
Jordi Boggiano 04381c70fe
Merge branch '1.10' 4 years ago
Jordi Boggiano fb7fc4a4ca
Fix git tests 4 years ago
Jordi Boggiano 93d4cf6f91
Add --no-show-signature where git supports it, fixes #8966 4 years ago
Jordi Boggiano 419567ba6d
Update VersionSelector to take all platform requirements into account when selecting packages 4 years ago
Markus Staab c30925e68d
extracted `VersionParser::DEV_MASTER_ALIAS` (#8742) 4 years ago
Jordi Boggiano a7a975ec1c
Alias dev-master/trunk/default to 9999999-dev instead of normalizing the version to that, fixes #8323 4 years ago
Jordi Boggiano 45ecbae8f5
Merge branch 'master' into 2.0 4 years ago
Ion Bazan a2137d5263 use Symfony PHPUnit Bridge 4 years ago
Jordi Boggiano a5b178084c
Merge branch 'master' into 2.0 5 years ago
Jordi Boggiano a2dadb91bf
Return two packages in PathRepository when on a feature branch, one for feature branch and one for the source branch it came from, fixes #8498, fixes #8477 5 years ago
Nils Adermann 6ef65e5319 Add a new RepositorySet class and restrict pool usage to the solver
Breaking change for the plugin interface so bumping the version of
composer-plugin-api to 2.0.0

First step for a refactoring of the package metadata loading mechanism
6 years ago
Jordi Boggiano c917865fe9 Fix handling of dev versions and consolidate logic, refs #7119 6 years ago
Jordi Boggiano 9041622b86 Fix version guessing regression and a few other issues, fixes #7127 6 years ago
Jordi Boggiano 066351c5b9 Remove use of deprecated getMock method 6 years ago
Jordi Boggiano 842a7ea922 Fix dev-master not being normalized correctly for the root package, fixes #7007 7 years ago
Jordi Boggiano 0a9abeef88 Merge branch '1.5' 7 years ago
Alessandro Lai 54adf0b61e Add regression test about VersionGuesser pretty_version handling 7 years ago
Gabriel Caruso afc9a7643e Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 7 years ago
Jordi Boggiano 5ba6d7d436 Fix pretty guessed versions to show nicely on numeric branches, refs #6845 7 years ago
Jérôme Vasseur 71c2ecbace Fix platform package detection in VersionParser 7 years ago
Jordi Boggiano b07be842a0 Remove feature-branches option as it is misnamed and duplicates the non-feature-branches option, refs #6475 7 years ago
Claus Due 965f1f42d1 Add support for feature-branches setting
A negative list of non-feature-branches names
is already supported - this patch adds a list of
branches names which *will* be considered as
feature branches.

Allows changing the currently hardcoded set of
expected feature branch names, from:

* master|trunk|default|develop

To any set of names or patterns that you desire.
7 years ago
Nicole Cordes d834fcfac5 Change commitHash to match real life examples 7 years ago
Nicole Cordes c0f5a64e81 Use long array sysntax for PHP 5.3 compatibility 7 years ago
Nicole Cordes c2fe198ebc Re-add unit test for FETCH_HEAD parsing 7 years ago
Nicole Cordes 313e6b914d Fix Git branch parsing for detached HEAD on a commit
Current versions of Git output the commit hash as detached HEAD instead
of FETCH_HEAD. The VersionGuesser should be able to handle commit hashes
as well as FETCH_HEAD to detect the correct branch of a commit.
7 years ago
Jordi Boggiano 843877cd6d Fix hg version guessing, fixes #6236, fixes #6235 7 years ago
Filippo Tessarotto 04b1ddb79f VersionGuesser test for HG 7 years ago
Jordi Boggiano e54c7478ee Attempt at fixing support for git 2.11, refs #5942 8 years ago