Skip to content

Commit 654d4b6

Browse files
authored
Merge pull request #3081 from tarlepp/chore(deps)/recipe-update
Chore(deps) - Flex recipe update
2 parents 18b2ec7 + 8a9ccc5 commit 654d4b6

File tree

15 files changed

+110
-56
lines changed

15 files changed

+110
-56
lines changed

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ end_of_line = lf
99
indent_style = space
1010
indent_size = 4
1111
insert_final_newline = true
12+
trim_trailing_whitespace = true
1213

1314
[{composer.json,Makefile}]
1415
indent_style = tab

.env.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
###> symfony/framework-bundle ###
66
APP_ENV=test
7-
APP_SECRET=2edbe69f411744beb240bc58fff311bd
7+
APP_SECRET='$ecretf0rt3st'
88
###< symfony/framework-bundle ###
99

1010
###> symfony-flex-backend ###

bin/phpunit

100755100644
File mode changed.

config/packages/csrf.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Enable stateless CSRF protection for forms and logins/logouts
2+
framework:
3+
form:
4+
csrf_protection:
5+
token_id: submit
6+
7+
csrf_protection:
8+
stateless_token_ids:
9+
- submit
10+
- authenticate
11+
- logout

config/packages/property_info.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
framework:
2+
property_info:
3+
with_constructor_extractor: true

config/packages/routing.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ framework:
22
router:
33
# Configure how to generate URLs in non-HTTP contexts, such as CLI commands.
44
# See https://symfony.com/doc/current/routing.html#generating-urls-in-commands
5-
#default_uri: http://localhost
5+
default_uri: '%env(resolve:DEFAULT_URI)%'
66

77
when@prod:
88
framework:

config/packages/translation.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ framework:
44
default_path: '%kernel.project_dir%/translations'
55
fallbacks:
66
- '%locale%'
7-
# providers:
8-
# crowdin:
9-
# dsn: '%env(CROWDIN_DSN)%'
10-
# loco:
11-
# dsn: '%env(LOCO_DSN)%'
12-
# lokalise:
13-
# dsn: '%env(LOKALISE_DSN)%'
14-
# phrase:
15-
# dsn: '%env(PHRASE_DSN)%'
7+
providers:
8+
#crowdin:
9+
# dsn: '%env(CROWDIN_DSN)%'
10+
#loco:
11+
# dsn: '%env(LOCO_DSN)%'
12+
#lokalise:
13+
# dsn: '%env(LOKALISE_DSN)%'
14+
#phrase:
15+
# dsn: '%env(PHRASE_DSN)%'

config/packages/web_profiler.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ when@dev:
88

99
when@test:
1010
framework:
11-
profiler: { collect: false }
11+
profiler:
12+
collect: false
13+
collect_serializer_data: true

config/routes/framework.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
when@dev:
22
_errors:
3-
resource: '@FrameworkBundle/Resources/config/routing/errors.xml'
3+
resource: '@FrameworkBundle/Resources/config/routing/errors.php'
44
prefix: /_error
55

66
when@test:

config/routes/web_profiler.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
when@dev:
22
web_profiler_wdt:
3-
resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'
3+
resource: '@WebProfilerBundle/Resources/config/routing/wdt.php'
44
prefix: /_wdt
55

66
web_profiler_profiler:
7-
resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'
7+
resource: '@WebProfilerBundle/Resources/config/routing/profiler.php'
88
prefix: /_profiler

0 commit comments

Comments
 (0)