Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 4f6fccf

Browse files
committed
Fix "!event" deprecation
1 parent e9b7381 commit 4f6fccf

File tree

7 files changed

+30
-30
lines changed

7 files changed

+30
-30
lines changed

app/config/config.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,24 @@ parameters:
1010

1111
framework:
1212
#esi: ~
13-
#translator: { fallbacks: ["%locale%"] }
14-
secret: "%secret%"
13+
#translator: { fallbacks: ['%locale%'] }
14+
secret: '%secret%'
1515
router:
16-
resource: "%kernel.root_dir%/config/routing.yml"
16+
resource: '%kernel.root_dir%/config/routing.yml'
1717
strict_requirements: ~
1818
form: ~
1919
csrf_protection: ~
2020
validation: { enable_annotations: true }
2121
#serializer: { enable_annotations: true }
2222
templating:
2323
engines: ['twig']
24-
default_locale: "%locale%"
24+
default_locale: '%locale%'
2525
trusted_hosts: ~
2626
trusted_proxies: ~
2727
session:
2828
# http://symfony.com/doc/current/reference/configuration/framework.html#handler-id
2929
handler_id: session.handler.native_file
30-
save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%"
30+
save_path: '%kernel.root_dir%/../var/sessions/%kernel.environment%'
3131
fragments: ~
3232
http_method_override: true
3333
assets: ~
@@ -36,35 +36,35 @@ framework:
3636

3737
# Twig Configuration
3838
twig:
39-
debug: "%kernel.debug%"
40-
strict_variables: "%kernel.debug%"
39+
debug: '%kernel.debug%'
40+
strict_variables: '%kernel.debug%'
4141

4242
# Doctrine Configuration
4343
doctrine:
4444
dbal:
4545
driver: pdo_mysql
46-
host: "%database_host%"
47-
port: "%database_port%"
48-
dbname: "%database_name%"
49-
user: "%database_user%"
50-
password: "%database_password%"
46+
host: '%database_host%'
47+
port: '%database_port%'
48+
dbname: '%database_name%'
49+
user: '%database_user%'
50+
password: '%database_password%'
5151
charset: UTF8
5252
# if using pdo_sqlite as your database driver:
5353
# 1. add the path in parameters.yml
54-
# e.g. database_path: "%kernel.root_dir%/../var/data/data.sqlite"
54+
# e.g. database_path: '%kernel.root_dir%/../var/data/data.sqlite'
5555
# 2. Uncomment database_path in parameters.yml.dist
5656
# 3. Uncomment next line:
57-
#path: "%database_path%"
57+
#path: '%database_path%'
5858

5959
orm:
60-
auto_generate_proxy_classes: "%kernel.debug%"
60+
auto_generate_proxy_classes: '%kernel.debug%'
6161
naming_strategy: doctrine.orm.naming_strategy.underscore
6262
auto_mapping: true
6363

6464
# Swiftmailer Configuration
6565
swiftmailer:
66-
transport: "%mailer_transport%"
67-
host: "%mailer_host%"
68-
username: "%mailer_user%"
69-
password: "%mailer_password%"
66+
transport: '%mailer_transport%'
67+
host: '%mailer_host%'
68+
username: '%mailer_user%'
69+
password: '%mailer_password%'
7070
spool: { type: memory }

app/config/config_dev.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ imports:
33

44
framework:
55
router:
6-
resource: "%kernel.root_dir%/config/routing_dev.yml"
6+
resource: '%kernel.root_dir%/config/routing_dev.yml'
77
strict_requirements: true
88
profiler: { only_exceptions: false }
99

@@ -15,12 +15,12 @@ monolog:
1515
handlers:
1616
main:
1717
type: stream
18-
path: "%kernel.logs_dir%/%kernel.environment%.log"
18+
path: '%kernel.logs_dir%/%kernel.environment%.log'
1919
level: debug
20-
channels: [!event]
20+
channels: ['!event']
2121
console:
2222
type: console
23-
channels: [!event, !doctrine, !console]
23+
channels: ['!event', '!doctrine', '!console']
2424
# uncomment to get logging in your browser
2525
# you may have to allow bigger header sizes in your Web server configuration
2626
#firephp:

app/config/config_prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ monolog:
1515
handler: nested
1616
nested:
1717
type: stream
18-
path: "%kernel.logs_dir%/%kernel.environment%.log"
18+
path: '%kernel.logs_dir%/%kernel.environment%.log'
1919
level: debug
2020
console:
2121
type: console

app/config/parameters.yml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ parameters:
88
database_user: root
99
database_password: ~
1010
# You should uncomment this if you want use pdo_sqlite
11-
# database_path: "%kernel.root_dir%/data.db3"
11+
# database_path: '%kernel.root_dir%/data.db3'
1212

1313
mailer_transport: smtp
1414
mailer_host: 127.0.0.1

app/config/routing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
app:
2-
resource: "@AppBundle/Controller/"
2+
resource: '@AppBundle/Controller/'
33
type: annotation

app/config/routing_dev.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
_wdt:
2-
resource: "@WebProfilerBundle/Resources/config/routing/wdt.xml"
2+
resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'
33
prefix: /_wdt
44

55
_profiler:
6-
resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml"
6+
resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'
77
prefix: /_profiler
88

99
_errors:
10-
resource: "@TwigBundle/Resources/config/routing/errors.xml"
10+
resource: '@TwigBundle/Resources/config/routing/errors.xml'
1111
prefix: /_error
1212

1313
_main:

app/config/services.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ parameters:
66
services:
77
# service_name:
88
# class: AppBundle\Directory\ClassName
9-
# arguments: ["@another_service_name", "plain_value", "%parameter_name%"]
9+
# arguments: ['@another_service_name', 'plain_value', '%parameter_name%']

0 commit comments

Comments
 (0)