8000 Fix some XML configurations typos · symfony/symfony-docs@ad794e6 · GitHub
[go: up one dir, main page]

Skip to content

Commit ad794e6

Browse files
author
Ahmed TAILOULOUTE
committed
Fix some XML configurations typos
1 parent 613e5c4 commit ad794e6

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

deployment/fortrabbit.rst

Lines changed: 1 addition & 1 deletion
8000 Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Make sure this file is imported into the main config file:
151151
<!-- .. -->
152152
<framework:config>
153153
<!-- .. -->
154-
<framework:session save_path="null" />
154+
<framework:session save-path="null" />
155155
</framework:config>
156156
</container>
157157

http_cache/esi.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ that must be enabled in your configuration:
242242
243243
<!-- ... -->
244244
<framework:config>
245-
<framework:fragments path="/_fragment" />
245+
<framework:fragment path="/_fragment" />
246246
10000 </framework:config>
247247
</container>
248248

logging.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ option of your handler to ``rotating_file``:
287287
type="rotating_file"
288288
path="%kernel.logs_dir%/%kernel.environment%.log"
289289
level="debug"
290-
max_files="10"
290+
max-files="10"
291291
/>
292292
</monolog:config>
293293
</container>

logging/disable_microsecond_precision.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ log generation. This is recommended for systems that generate a large number of
3535
http://symfony.com/schema/dic/monolog
3636
http://symfony.com/schema/dic/monolog/monolog-1.0.xsd">
3737
38-
<monolog:config use_microseconds="false">
38+
<monolog:config use-microseconds="false">
3939
<monolog:handler
4040
name="applog"
4141
type="stream"

reference/configuration/framework.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ This option allows you to define a base path to be used for assets:
883883
http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
884884
885885
<framework:config>
886-
<framework:assets base_path="/images" />
886+
<framework:assets base-path="/images" />
887887
</framework:config>
888888
</container>
889889

reference/configuration/security.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -493,12 +493,12 @@ multiple firewalls, the "context" could actually be shared:
493493
494494
<!-- app/config/security.xml -->
495495
<security:config>
496-
<firewall name="somename" context="my_context">
496+
<security:firewall name="somename" context="my_context">
497497
<! ... ->
498-
</firewall>
499-
<firewall name="othername" context="my_context">
498+
</security:firewall>
499+
<security:firewall name="othername" context="my_context">
500500
<! ... ->
501-
</firewall>
501+
</security:firewall>
502502
</security:config>
503503
504504
.. code-block:: php
@@ -538,9 +538,9 @@ To use HTTP-Digest authentication you need to provide a realm and a key:
538538
539539
<!-- app/config/security.xml -->
540540
<security:config>
541-
<firewall name="somename">
542-
<http-digest key="a_random_string" realm="secure-api" />
543-
</firewall>
541+
<security:firewall name="somename">
542+
<security:http-digest key="a_random_string" realm="secure-api" />
543+
</security:firewall>
544544
</security:config>
545545
546546
.. code-block:: php

reference/configuration/swiftmailer.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,9 @@ Full Default Configuration
233233
host="localhost"
234234
port="false"
235235
encryption=""
236-
auth_mode=""
237-
sender_address=""
238-
disable_delivery=""
236+
auth-mode=""
237+
sender-address=""
238+
disable-delivery=""
239239
logging="%kernel.debug%"
240240
>
241241
<swiftmailer:spool

reference/configuration/web_profiler.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ Full Default Configuration
3434
<web-profiler:config
3535
toolbar="false"
3636
verbose="true"
37-
intercept_redirects="false"
38-
excluded_ajax_paths="^/bundles|^/_wdt"
37+
intercept-redirects="false"
38+
excluded-ajax-paths="^/bundles|^/_wdt"
3939
/>

templating/hinclude.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ tags:
5858
5959
<!-- ... -->
6060
<framework:config>
61-
<framework:fragments path="/_fragment" />
61+
<framework:fragment path="/_fragment" />
6262
</framework:config>
6363
</container>
6464

0 commit comments

Comments
 (0)
0