Skip to content

Commit c923980

Browse files
committed
Treat PHPUnitBridge only as a PHPUnit extension
1 parent 0711f89 commit c923980

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"copy-from-recipe": {
3+
".env.test": ".env.test",
4+
"bin/": "%BIN_DIR%/",
5+
"phpunit.xml.dist": "phpunit.xml.dist",
6+
"tests/": "tests/"
7+
},
8+
"gitignore": [
9+
".phpunit.result.cache",
10+
"/phpunit.xml"
11+
],
12+
"add-lines": [
13+
{
14+
"file": "phpunit.xml.dist",
15+
"content": " <listener class=\"Symfony\\Bridge\\PhpUnit\\SymfonyTestsListener\" />",
16+
"position": "after_target",
17+
"target": "<extensions>",
18+
"warn_if_missing": false
19+
},
20+
{
21+
"file": "phpunit.dist.xml",
22+
"content": " <bootstrap class=\"Symfony\\Bridge\\PhpUnit\\SymfonyExtension\">\n <parameter name=\"clock-mock-namespaces\" value=\"App\" />\n <parameter name=\"dns-mock-namespaces\" value=\"App\" />\n </bootstrap>",
23+
"position": "after_target",
24+
"target": "<extensions>",
25+
"warn_if_missing": false
26+
}
27+
],
28+
"conflict": {
29+
"phpunit/phpunit": "<9.6",
30+
"symfony/framework-bundle": "<5.4"
31+
},
32+
"aliases": ["simple-phpunit"]
33+
}

0 commit comments

Comments
 (0)