mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 23:26:27 +03:00
Update Flex endpoint
This commit is contained in:
+1
-1
@@ -197,5 +197,5 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith
|
||||
| [twig/markdown-extension](https://packagist.org/packages/twig/markdown-extension) | [1.0](twig/markdown-extension/1.0) | |
|
||||
| [willdurand/js-translation-bundle](https://packagist.org/packages/willdurand/js-translation-bundle) | [2.0](willdurand/js-translation-bundle/2.0) | `js-translation`, `js-translator`, `jstranslation`, `jstranslator` |
|
||||
| [zenstruck/browser](https://packagist.org/packages/zenstruck/browser) | [1.9](zenstruck/browser/1.9) | `browser` |
|
||||
| [zenstruck/foundry](https://packagist.org/packages/zenstruck/foundry) | [2.6](zenstruck/foundry/2.6) | `foundry` |
|
||||
| [zenstruck/foundry](https://packagist.org/packages/zenstruck/foundry) | [2.7](zenstruck/foundry/2.7) | `foundry` |
|
||||
| [zenstruck/messenger-test](https://packagist.org/packages/zenstruck/messenger-test) | [1.7](zenstruck/messenger-test/1.7) | `messenger-test`, `messengertest` |
|
||||
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"manifests": {
|
||||
"zenstruck/foundry": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"bundles": {
|
||||
"Zenstruck\\Foundry\\ZenstruckFoundryBundle": [
|
||||
"dev",
|
||||
"test"
|
||||
]
|
||||
},
|
||||
"conflict": {
|
||||
"doctrine/persistence": "<2.0",
|
||||
"symfony/flex": "<1.23.0 || >=2.0.0,<2.8.0",
|
||||
"symfony/framework-bundle": "<6.4"
|
||||
},
|
||||
"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
|
||||
},
|
||||
{
|
||||
"file": "config/packages/zenstruck_foundry.yaml",
|
||||
"content": " enable_auto_refresh_with_lazy_objects: true",
|
||||
"position": "after_target",
|
||||
"target": "zenstruck_foundry:",
|
||||
"requires": "php:>=8.4",
|
||||
"warn_if_missing": false
|
||||
}
|
||||
],
|
||||
"post-install-output": [
|
||||
" * You're ready to use zenstruck/foundry. Create your first factory with",
|
||||
" <info>bin/console make:factory</>.",
|
||||
"",
|
||||
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/zenstruck_foundry.yaml": {
|
||||
"contents": [
|
||||
"when@dev: &dev",
|
||||
" # See full configuration: https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html#full-default-bundle-configuration",
|
||||
" zenstruck_foundry:",
|
||||
" persistence:",
|
||||
" # Flush only once per call of `PersistentObjectFactory::create()`",
|
||||
" flush_once: true",
|
||||
"",
|
||||
"when@test: *dev",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Story/AppStory.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Story;",
|
||||
"",
|
||||
"use Zenstruck\\Foundry\\Attribute\\AsFixture;",
|
||||
"use Zenstruck\\Foundry\\Story;",
|
||||
"",
|
||||
"#[AsFixture(name: 'main')]",
|
||||
"final class AppStory extends Story",
|
||||
"{",
|
||||
" public function build(): void",
|
||||
" {",
|
||||
" // SomeFactory::createOne();",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "fcdc433411c0c9b424996c0a0aac7a2f89fb2611"
|
||||
}
|
||||
}
|
||||
}
|
||||
+7
-1
@@ -1247,7 +1247,8 @@
|
||||
"1.10",
|
||||
"2.0",
|
||||
"2.5",
|
||||
"2.6"
|
||||
"2.6",
|
||||
"2.7"
|
||||
],
|
||||
"zenstruck/messenger-test": [
|
||||
"1.7"
|
||||
@@ -1511,6 +1512,11 @@
|
||||
"doctrine/persistence": "<2.0",
|
||||
"symfony/flex": "<1.23.0 || >=2.0.0,<2.8.0",
|
||||
"symfony/framework-bundle": "<6.4"
|
||||
},
|
||||
"2.7": {
|
||||
"doctrine/persistence": "<2.0",
|
||||
"symfony/flex": "<1.23.0 || >=2.0.0,<2.8.0",
|
||||
"symfony/framework-bundle": "<6.4"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"manifests": {
|
||||
"zenstruck/foundry": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"bundles": {
|
||||
"Zenstruck\\Foundry\\ZenstruckFoundryBundle": [
|
||||
"dev",
|
||||
"test"
|
||||
]
|
||||
},
|
||||
"conflict": {
|
||||
"doctrine/persistence": "<2.0",
|
||||
"symfony/flex": "<1.23.0 || >=2.0.0,<2.8.0",
|
||||
"symfony/framework-bundle": "<6.4"
|
||||
},
|
||||
"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
|
||||
},
|
||||
{
|
||||
"file": "config/packages/zenstruck_foundry.yaml",
|
||||
"content": " enable_auto_refresh_with_lazy_objects: true",
|
||||
"position": "after_target",
|
||||
"target": "zenstruck_foundry:",
|
||||
"requires": "php:>=8.4",
|
||||
"warn_if_missing": false
|
||||
}
|
||||
],
|
||||
"post-install-output": [
|
||||
" * You're ready to use zenstruck/foundry. Create your first factory with",
|
||||
" <info>bin/console make:factory</>.",
|
||||
"",
|
||||
" * <fg=blue>Read</> the documentation at <comment>https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/zenstruck_foundry.yaml": {
|
||||
"contents": [
|
||||
"when@dev: &dev",
|
||||
" # See full configuration: https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html#full-default-bundle-configuration",
|
||||
" zenstruck_foundry:",
|
||||
" persistence:",
|
||||
" # Flush only once per call of `PersistentObjectFactory::create()`",
|
||||
" flush_once: true",
|
||||
"",
|
||||
"when@test: *dev",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Story/AppStory.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Story;",
|
||||
"",
|
||||
"use Zenstruck\\Foundry\\Attribute\\AsFixture;",
|
||||
"use Zenstruck\\Foundry\\Story;",
|
||||
"",
|
||||
"#[AsFixture(name: 'main')]",
|
||||
"final class AppStory extends Story",
|
||||
"{",
|
||||
" public function build(): void",
|
||||
" {",
|
||||
" // SomeFactory::createOne();",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "fcdc433411c0c9b424996c0a0aac7a2f89fb2611"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user