mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
[zenstruck/foundry] Add PHPUnit extension (#1435)
This commit is contained in:
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user