Skip to content

Commit 79f2455

Browse files
authored
[zenstruck/foundry] Add PHPUnit extension (#1435)
1 parent 061f801 commit 79f2455

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

zenstruck/foundry/2.5/manifest.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,18 @@
77
},
88
"conflict": {
99
"doctrine/persistence": "<2.0",
10+
"symfony/flex": "<1.23.0 || >=2.0.0,<2.8.0",
1011
"symfony/framework-bundle": "<6.4"
1112
},
12-
"aliases": ["foundry"]
13+
"aliases": ["foundry"],
14+
"add-lines": [
15+
{
16+
"file": "phpunit.dist.xml",
17+
"content": " <bootstrap class=\"Zenstruck\\Foundry\\PHPUnit\\FoundryExtension\" />",
18+
"position": "after_target",
19+
"target": "<extensions>",
20+
"requires": "phpunit/phpunit:>=10",
21+
"warn_if_missing": false
22+
}
23+
]
1324
}

zenstruck/foundry/2.6/manifest.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,18 @@
88
},
99
"conflict": {
1010
"doctrine/persistence": "<2.0",
11+
"symfony/flex": "<1.23.0 || >=2.0.0,<2.8.0",
1112
"symfony/framework-bundle": "<6.4"
1213
},
13-
"aliases": ["foundry"]
14+
"aliases": ["foundry"],
15+
"add-lines": [
16+
{
17+
"file": "phpunit.dist.xml",
18+
"content": " <bootstrap class=\"Zenstruck\\Foundry\\PHPUnit\\FoundryExtension\" />",
19+
"position": "after_target",
20+
"target": "<extensions>",
21+
"requires": "phpunit/phpunit:>=10",
22+
"warn_if_missing": false
23+
}
24+
]
1425
}

0 commit comments

Comments
 (0)