mirror of
https://github.com/symfony/recipes.git
synced 2026-03-23 23:32:10 +01:00
Consistently use when@env (#1058)
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
when@dev: &dev
|
||||||
|
hautelook_alice:
|
||||||
|
fixtures_path: fixtures
|
||||||
|
|
||||||
|
when@test: *dev
|
||||||
0
hautelook/alice-bundle/2.2/fixtures/.gitignore
vendored
Normal file
0
hautelook/alice-bundle/2.2/fixtures/.gitignore
vendored
Normal file
13
hautelook/alice-bundle/2.2/manifest.json
Normal file
13
hautelook/alice-bundle/2.2/manifest.json
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"aliases": ["alice"],
|
||||||
|
"bundles": {
|
||||||
|
"Hautelook\\AliceBundle\\HautelookAliceBundle": ["dev", "test"]
|
||||||
|
},
|
||||||
|
"copy-from-recipe": {
|
||||||
|
"config/": "%CONFIG_DIR%/",
|
||||||
|
"fixtures/": "fixtures/"
|
||||||
|
},
|
||||||
|
"conflict": {
|
||||||
|
"symfony/framework-bundle": "<5.3"
|
||||||
|
}
|
||||||
|
}
|
||||||
2
hautelook/alice-bundle/2.2/post-install.txt
Normal file
2
hautelook/alice-bundle/2.2/post-install.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
* <fg=blue>Write</> fixtures files in the <comment>fixtures/</> folder
|
||||||
|
* <fg=blue>Run</> <comment>php bin/console hautelook:fixtures:load</>
|
||||||
12
nelmio/alice/3.3/config/packages/nelmio_alice.yaml
Normal file
12
nelmio/alice/3.3/config/packages/nelmio_alice.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
when@dev: &dev
|
||||||
|
nelmio_alice:
|
||||||
|
functions_blacklist:
|
||||||
|
- 'current'
|
||||||
|
- 'shuffle'
|
||||||
|
- 'date'
|
||||||
|
- 'time'
|
||||||
|
- 'file'
|
||||||
|
- 'md5'
|
||||||
|
- 'sha1'
|
||||||
|
|
||||||
|
when@test: *dev
|
||||||
11
nelmio/alice/3.3/manifest.json
Normal file
11
nelmio/alice/3.3/manifest.json
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"bundles": {
|
||||||
|
"Nelmio\\Alice\\Bridge\\Symfony\\NelmioAliceBundle": ["dev", "test"]
|
||||||
|
},
|
||||||
|
"copy-from-recipe": {
|
||||||
|
"config/": "%CONFIG_DIR%/"
|
||||||
|
},
|
||||||
|
"conflict": {
|
||||||
|
"symfony/framework-bundle": "<5.3"
|
||||||
|
}
|
||||||
|
}
|
||||||
13
symfony/validator/5.3/config/packages/validator.yaml
Normal file
13
symfony/validator/5.3/config/packages/validator.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
framework:
|
||||||
|
validation:
|
||||||
|
email_validation_mode: html5
|
||||||
|
|
||||||
|
# Enables validator auto-mapping support.
|
||||||
|
# For instance, basic validation constraints will be inferred from Doctrine's metadata.
|
||||||
|
#auto_mapping:
|
||||||
|
# App\Entity\: []
|
||||||
|
|
||||||
|
when@test:
|
||||||
|
framework:
|
||||||
|
validation:
|
||||||
|
not_compromised_password: false
|
||||||
9
symfony/validator/5.3/manifest.json
Normal file
9
symfony/validator/5.3/manifest.json
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"copy-from-recipe": {
|
||||||
|
"config/": "%CONFIG_DIR%/"
|
||||||
|
},
|
||||||
|
"aliases": ["validation"],
|
||||||
|
"conflict": {
|
||||||
|
"symfony/framework-bundle": "<5.3"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
when@dev:
|
||||||
|
web_profiler:
|
||||||
|
toolbar: true
|
||||||
|
intercept_redirects: false
|
||||||
|
|
||||||
|
framework:
|
||||||
|
profiler: { only_exceptions: false }
|
||||||
|
|
||||||
|
when@test:
|
||||||
|
web_profiler:
|
||||||
|
toolbar: false
|
||||||
|
intercept_redirects: false
|
||||||
|
|
||||||
|
framework:
|
||||||
|
profiler: { collect: false }
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
when@dev:
|
||||||
|
web_profiler_wdt:
|
||||||
|
resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'
|
||||||
|
prefix: /_wdt
|
||||||
|
|
||||||
|
web_profiler_profiler:
|
||||||
|
resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'
|
||||||
|
prefix: /_profiler
|
||||||
11
symfony/web-profiler-bundle/5.3/manifest.json
Normal file
11
symfony/web-profiler-bundle/5.3/manifest.json
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"bundles": {
|
||||||
|
"Symfony\\Bundle\\WebProfilerBundle\\WebProfilerBundle": ["dev", "test"]
|
||||||
|
},
|
||||||
|
"copy-from-recipe": {
|
||||||
|
"config/": "%CONFIG_DIR%/"
|
||||||
|
},
|
||||||
|
"conflict": {
|
||||||
|
"symfony/framework-bundle": "<5.3"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
when@dev: &dev
|
||||||
|
# See full configuration: https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html#full-default-bundle-configuration
|
||||||
|
zenstruck_foundry:
|
||||||
|
# Whether to auto-refresh proxies by default (https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html#auto-refresh)
|
||||||
|
auto_refresh_proxies: true
|
||||||
|
|
||||||
|
when@test: *dev
|
||||||
11
zenstruck/foundry/1.10/manifest.json
Normal file
11
zenstruck/foundry/1.10/manifest.json
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"copy-from-recipe": {
|
||||||
|
"config/": "%CONFIG_DIR%/"
|
||||||
|
},
|
||||||
|
"bundles": {
|
||||||
|
"Zenstruck\\Foundry\\ZenstruckFoundryBundle": ["dev", "test"]
|
||||||
|
},
|
||||||
|
"conflict": {
|
||||||
|
"symfony/framework-bundle": "<5.3"
|
||||||
|
}
|
||||||
|
}
|
||||||
4
zenstruck/foundry/1.10/post-install.txt
Normal file
4
zenstruck/foundry/1.10/post-install.txt
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
* 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</>
|
||||||
Reference in New Issue
Block a user