Skip to content

Commit 5742e6d

Browse files
committed
Add failing test for #222
1 parent 6ab0202 commit 5742e6d

File tree

4 files changed

+37
-0
lines changed

4 files changed

+37
-0
lines changed

tests/phpunit/MergePluginTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1782,6 +1782,13 @@ protected function makeAliasFor($root)
17821782
return $alias;
17831783
}
17841784

1785+
public function githubissue222()
1786+
{
1787+
$dir = $this->fixtureDir(__FUNCTION__);
1788+
1789+
$root = $this->rootFromJson("{$dir}/composer.json");
1790+
}
1791+
17851792
/**
17861793
* @return PluginState
17871794
*/
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"require": {
3+
"symfony/yaml": "5.3.6"
4+
}
5+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"require": {
3+
"wikimedia/composer-merge-plugin": "#dev-master"
4+
},
5+
"require-dev": {
6+
"symfony/yaml": "~3.4|~5.1"
7+
},
8+
"extra": {
9+
"merge-plugin": {
10+
"include": [
11+
"composer.local.json"
12+
],
13+
"merge-dev": false
14+
}
15+
}
16+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"extra": {
3+
"merge-plugin": {
4+
"include": [
5+
"composer-extra.json"
6+
]
7+
}
8+
}
9+
}

0 commit comments

Comments
 (0)