1
0
Fork 0

Using the current subset branch of @Seldaek to fix subset tests

pull/8850/head
Yanick Witschi 2020-05-05 20:28:40 +02:00 committed by Jordi Boggiano
parent 26877285ad
commit 00500f83c0
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
3 changed files with 21 additions and 36 deletions

View File

@ -86,5 +86,11 @@
"support": { "support": {
"issues": "https://github.com/composer/composer/issues", "issues": "https://github.com/composer/composer/issues",
"irc": "irc://irc.freenode.org/composer" "irc": "irc://irc.freenode.org/composer"
} },
"repositories": [
{
"type": "vcs",
"url": "git@github.com:Seldaek/semver.git"
}
]
} }

43
composer.lock generated
View File

@ -109,7 +109,16 @@
"Composer\\Semver\\": "src" "Composer\\Semver\\": "src"
} }
}, },
"notification-url": "https://packagist.org/downloads/", "autoload-dev": {
"psr-4": {
"Composer\\Semver\\": "tests"
}
},
"scripts": {
"test": [
"phpunit"
]
},
"license": [ "license": [
"MIT" "MIT"
], ],
@ -441,17 +450,7 @@
"license": [ "license": [
"MIT" "MIT"
], ],
"authors": [
{
"name": "Jan Sorgalla",
"email": "jsorgalla@gmail.com"
}
],
"description": "A lightweight implementation of CommonJS Promises/A for PHP", "description": "A lightweight implementation of CommonJS Promises/A for PHP",
"support": {
"issues": "https://github.com/reactphp/promise/issues",
"source": "https://github.com/reactphp/promise/tree/1.0"
},
"time": "2016-03-07T13:46:50+00:00" "time": "2016-03-07T13:46:50+00:00"
}, },
{ {
@ -501,10 +500,6 @@
"parser", "parser",
"validator" "validator"
], ],
"support": {
"issues": "https://github.com/Seldaek/jsonlint/issues",
"source": "https://github.com/Seldaek/jsonlint/tree/master"
},
"funding": [ "funding": [
{ {
"url": "https://github.com/Seldaek", "url": "https://github.com/Seldaek",
@ -1051,10 +1046,6 @@
"constructor", "constructor",
"instantiate" "instantiate"
], ],
"support": {
"issues": "https://github.com/doctrine/instantiator/issues",
"source": "https://github.com/doctrine/instantiator/tree/master"
},
"time": "2015-06-14T21:17:01+00:00" "time": "2015-06-14T21:17:01+00:00"
}, },
{ {
@ -1104,10 +1095,6 @@
"email": "mike.vanriel@naenius.com" "email": "mike.vanriel@naenius.com"
} }
], ],
"support": {
"issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues",
"source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/release/2.x"
},
"time": "2016-01-25T08:17:30+00:00" "time": "2016-01-25T08:17:30+00:00"
}, },
{ {
@ -1239,10 +1226,6 @@
"compare", "compare",
"equality" "equality"
], ],
"support": {
"issues": "https://github.com/sebastianbergmann/comparator/issues",
"source": "https://github.com/sebastianbergmann/comparator/tree/1.2"
},
"time": "2017-01-29T09:50:25+00:00" "time": "2017-01-29T09:50:25+00:00"
}, },
{ {
@ -1295,10 +1278,6 @@
"keywords": [ "keywords": [
"diff" "diff"
], ],
"support": {
"issues": "https://github.com/sebastianbergmann/diff/issues",
"source": "https://github.com/sebastianbergmann/diff/tree/1.4"
},
"time": "2017-05-22T07:24:03+00:00" "time": "2017-05-22T07:24:03+00:00"
}, },
{ {
@ -1510,5 +1489,5 @@
"platform-overrides": { "platform-overrides": {
"php": "5.3.9" "php": "5.3.9"
}, },
"plugin-api-version": "2.0.0" "plugin-api-version": "1.1.0"
} }

View File

@ -233,9 +233,9 @@ class PoolBuilder
return; return;
} }
// No need to load this package with this constraint because it was // No need to load this package with this constraint because it is
// already loaded in one that matches // a subset of the constraint with which we have already loaded packages
if ($this->loadedNames[$name]->matches($constraint)) { if ($constraint->isSubsetOf($this->loadedNames[$name])) {
return; return;
} }