Skip to content

Commit fadeac1

Browse files
Consistently use when@env (#1058)
1 parent ee79aec commit fadeac1

File tree

14 files changed

+121
-0
lines changed

14 files changed

+121
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
when@dev: &dev
2+
hautelook_alice:
3+
fixtures_path: fixtures
4+
5+
when@test: *dev

hautelook/alice-bundle/2.2/fixtures/.gitignore

Whitespace-only changes.
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"aliases": ["alice"],
3+
"bundles": {
4+
"Hautelook\\AliceBundle\\HautelookAliceBundle": ["dev", "test"]
5+
},
6+
"copy-from-recipe": {
7+
"config/": "%CONFIG_DIR%/",
8+
"fixtures/": "fixtures/"
9+
},
10+
"conflict": {
11+
"symfony/framework-bundle": "<5.3"
12+
}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* <fg=blue>Write</> fixtures files in the <comment>fixtures/</> folder
2+
* <fg=blue>Run</> <comment>php bin/console hautelook:fixtures:load</>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
when@dev: &dev
2+
nelmio_alice:
3+
functions_blacklist:
4+
- 'current'
5+
- 'shuffle'
6+
- 'date'
7+
- 'time'
8+
- 'file'
9+
- 'md5'
10+
- 'sha1'
11+
12+
when@test: *dev

nelmio/alice/3.3/manifest.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"bundles": {
3+
"Nelmio\\Alice\\Bridge\\Symfony\\NelmioAliceBundle": ["dev", "test"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/"
7+
},
8+
"conflict": {
9+
"symfony/framework-bundle": "<5.3"
10+
}
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
framework:
2+
validation:
3+
email_validation_mode: html5
4+
5+
# Enables validator auto-mapping support.
6+
# For instance, basic validation constraints will be inferred from Doctrine's metadata.
7+
#auto_mapping:
8+
# App\Entity\: []
9+
10+
when@test:
11+
framework:
12+
validation:
13+
not_compromised_password: false

symfony/validator/5.3/manifest.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"copy-from-recipe": {
3+
"config/": "%CONFIG_DIR%/"
4+
},
5+
"aliases": ["validation"],
6+
"conflict": {
7+
"symfony/framework-bundle": "<5.3"
8+
}
9+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
when@dev:
2+
web_profiler:
3+
toolbar: true
4+
intercept_redirects: false
5+
6+
framework:
7+
profiler: { only_exceptions: false }
8+
9+
when@test:
10+
web_profiler:
11+
toolbar: false
12+
intercept_redirects: false
13+
14+
framework:
15+
profiler: { collect: false }
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
when@dev:
2+
web_profiler_wdt:
3+
resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'
4+
prefix: /_wdt
5+
6+
web_profiler_profiler:
7+
resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'
8+
prefix: /_profiler
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"bundles": {
3+
"Symfony\\Bundle\\WebProfilerBundle\\WebProfilerBundle": ["dev", "test"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/"
7+
},
8+
"conflict": {
9+
"symfony/framework-bundle": "<5.3"
10+
}
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
when@dev: &dev
2+
# See full configuration: https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html#full-default-bundle-configuration
3+
zenstruck_foundry:
4+
# Whether to auto-refresh proxies by default (https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html#auto-refresh)
5+
auto_refresh_proxies: true
6+
7+
when@test: *dev

zenstruck/foundry/1.10/manifest.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"copy-from-recipe": {
3+
"config/": "%CONFIG_DIR%/"
4+
},
5+
"bundles": {
6+
"Zenstruck\\Foundry\\ZenstruckFoundryBundle": ["dev", "test"]
7+
},
8+
"conflict": {
9+
"symfony/framework-bundle": "<5.3"
10+
}
11+
}
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
* You're ready to use zenstruck/foundry. Create your first factory with
2+
<info>bin/console make:factory</>.
3+
4+
* <fg=blue>Read</> the documentation at <comment>https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html</>

0 commit comments

Comments
 (0)