Skip to content

Commit cbe82e2

Browse files
committed
Use PHP rougin config files instead of XML ones
1 parent 6157227 commit cbe82e2

File tree

5 files changed

+36
-1
lines changed

5 files changed

+36
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
when@dev:
22
_errors:
3-
resource: '@FrameworkBundle/Resources/config/routing/errors.xml'
3+
resource: '@FrameworkBundle/Resources/config/routing/errors.php'
44
prefix: /_error
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
when@dev:
2+
web_profiler:
3+
toolbar: true
4+
5+
framework:
6+
profiler:
7+
collect_serializer_data: true
8+
9+
when@test:
10+
framework:
11+
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.php'
4+
prefix: /_wdt
5+
6+
web_profiler_profiler:
7+
resource: '@WebProfilerBundle/Resources/config/routing/profiler.php'
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": "<6.1"
10+
}
11+
}

symfony/webhook/7.3/manifest.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"copy-from-recipe": {
3+
"config/": "%CONFIG_DIR%/"
4+
}
5+
}

0 commit comments

Comments
 (0)