[zenstruck/foundry] Add PHPUnit extension (#1435)

This commit is contained in:
HypeMC
2025-07-08 16:59:16 +02:00
committed by GitHub
parent 061f8015e8
commit 79f2455be0
2 changed files with 24 additions and 2 deletions
+12 -1
View File
@@ -7,7 +7,18 @@
},
"conflict": {
"doctrine/persistence": "<2.0",
"symfony/flex": "<1.23.0 || >=2.0.0,<2.8.0",
"symfony/framework-bundle": "<6.4"
},
"aliases": ["foundry"]
"aliases": ["foundry"],
"add-lines": [
{
"file": "phpunit.dist.xml",
"content": " <bootstrap class=\"Zenstruck\\Foundry\\PHPUnit\\FoundryExtension\" />",
"position": "after_target",
"target": "<extensions>",
"requires": "phpunit/phpunit:>=10",
"warn_if_missing": false
}
]
}
+12 -1
View File
@@ -8,7 +8,18 @@
},
"conflict": {
"doctrine/persistence": "<2.0",
"symfony/flex": "<1.23.0 || >=2.0.0,<2.8.0",
"symfony/framework-bundle": "<6.4"
},
"aliases": ["foundry"]
"aliases": ["foundry"],
"add-lines": [
{
"file": "phpunit.dist.xml",
"content": " <bootstrap class=\"Zenstruck\\Foundry\\PHPUnit\\FoundryExtension\" />",
"position": "after_target",
"target": "<extensions>",
"requires": "phpunit/phpunit:>=10",
"warn_if_missing": false
}
]
}