Skip to content

Commit

Permalink
Use when@
Browse files Browse the repository at this point in the history
  • Loading branch information
j0k3r committed Jul 6, 2021
1 parent e44296c commit 876256f
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 16 deletions.
1 change: 0 additions & 1 deletion config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
doctrine:
dbal:
override_url: true
url: '%env(resolve:DATABASE_URL)%'
# driver: pdo_mysql
# host: "%database_host%"
Expand Down
2 changes: 1 addition & 1 deletion config/packages/framework.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ framework:
# Remove or comment this section to explicitly disable session support.
session:
name: banditore
handler_id: session.handler.native_file
# handler_id: session.handler.native_file
save_path: "%kernel.project_dir%/var/sessions/%kernel.environment%"
cookie_secure: auto
cookie_samesite: lax
Expand Down
7 changes: 7 additions & 0 deletions config/packages/messenger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,10 @@ framework:
middleware:
- doctrine_ping_connection
- doctrine_close_connection

when@test:
framework:
messenger:
transports:
sync_starred_repos: 'in-memory://'
sync_versions: 'in-memory://'
4 changes: 0 additions & 4 deletions config/packages/test/framework.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions config/packages/test/messenger.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions config/packages/test/twig.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions config/packages/test/validator.yaml

This file was deleted.

5 changes: 5 additions & 0 deletions config/packages/validator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ framework:
# For instance, basic validation constraints will be inferred from Doctrine's metadata.
auto_mapping:
App\Entity\: []

when@test:
framework:
validation:
not_compromised_password: false

0 comments on commit 876256f

Please sign in to comment.