Skip to content

Fix some XML configurations typos #7638

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 17, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deployment/fortrabbit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ Make sure this file is imported into the main config file:
<!-- .. -->
<framework:config>
<!-- .. -->
<framework:session save_path="null" />
<framework:session save-path="null" />
</framework:config>
</container>

Expand Down
2 changes: 1 addition & 1 deletion http_cache/esi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ that must be enabled in your configuration:

<!-- ... -->
<framework:config>
<framework:fragments path="/_fragment" />
<framework:fragment path="/_fragment" />
</framework:config>
</container>

Expand Down
2 changes: 1 addition & 1 deletion logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ option of your handler to ``rotating_file``:
type="rotating_file"
path="%kernel.logs_dir%/%kernel.environment%.log"
level="debug"
max_files="10"
max-files="10"
/>
</monolog:config>
</container>
Expand Down
2 changes: 1 addition & 1 deletion logging/disable_microsecond_precision.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ log generation. This is recommended for systems that generate a large number of
http://symfony.com/schema/dic/monolog
http://symfony.com/schema/dic/monolog/monolog-1.0.xsd">

<monolog:config use_microseconds="false">
<monolog:config use-microseconds="false">
<monolog:handler
name="applog"
type="stream"
Expand Down
2 changes: 1 addition & 1 deletion reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ This option allows you to define a base path to be used for assets:
http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

<framework:config>
<framework:assets base_path="/images" />
<framework:assets base-path="/images" />
</framework:config>
</container>

Expand Down
14 changes: 7 additions & 7 deletions reference/configuration/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -493,12 +493,12 @@ multiple firewalls, the "context" could actually be shared:

<!-- app/config/security.xml -->
<security:config>
<firewall name="somename" context="my_context">
<security:firewall name="somename" context="my_context">
<! ... ->
</firewall>
<firewall name="othername" context="my_context">
</security:firewall>
<security:firewall name="othername" context="my_context">
<! ... ->
</firewall>
</security:firewall>
</security:config>

.. code-block:: php
Expand Down Expand Up @@ -538,9 +538,9 @@ To use HTTP-Digest authentication you need to provide a realm and a key:

<!-- app/config/security.xml -->
<security:config>
<firewall name="somename">
<http-digest key="a_random_string" realm="secure-api" />
</firewall>
<security:firewall name="somename">
<security:http-digest key="a_random_string" realm="secure-api" />
</security:firewall>
</security:config>

.. code-block:: php
Expand Down
6 changes: 3 additions & 3 deletions reference/configuration/swiftmailer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,9 @@ Full Default Configuration
host="localhost"
port="false"
encryption=""
auth_mode=""
sender_address=""
disable_delivery=""
auth-mode=""
sender-address=""
disable-delivery=""
logging="%kernel.debug%"
>
<swiftmailer:spool
Expand Down
4 changes: 2 additions & 2 deletions reference/configuration/web_profiler.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ Full Default Configuration
<web-profiler:config
toolbar="false"
verbose="true"
intercept_redirects="false"
excluded_ajax_paths="^/bundles|^/_wdt"
intercept-redirects="false"
excluded-ajax-paths="^/bundles|^/_wdt"
/>
2 changes: 1 addition & 1 deletion templating/hinclude.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ tags:

<!-- ... -->
<framework:config>
<framework:fragments path="/_fragment" />
<framework:fragment path="/_fragment" />
</framework:config>
</container>

Expand Down