Skip to content

Commit a532bf1

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

File tree

6 files changed

+39
-1
lines changed

6 files changed

+39
-1
lines changed
Lines changed: 1 addition & 1 deletion
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
Lines changed: 11 additions & 0 deletions
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 }
Lines changed: 8 additions & 0 deletions
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
Lines changed: 11 additions & 0 deletions
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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"copy-from-recipe": {
3+
"config/": "%CONFIG_DIR%/"
4+
}
5+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
webhook:
2+
resource: '@FrameworkBundle/Resources/config/routing/webhook.php'
3+
prefix: /webhook

0 commit comments

Comments
 (0)