8000 Minor XML codes fixes · symfony/symfony-docs@4aac055 · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4aac055

Browse files
Ahmed TAILOULOUTExabbuh
authored andcommitted
Minor XML codes fixes
1 parent 515527b commit 4aac055

File tree

7 files changed

+10
-12
lines changed

7 files changed

+10
-12
lines changed

assetic/apply_to_option.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ In this case you can specify that the ``coffee`` filter is applied to all
161161
name="coffee"
162162
bin="/usr/bin/coffee"
163163
node="/usr/bin/node"
164-
apply-to="\.coffee$" />
164+
apply-to="\.coffee$">
165165
<assetic:node-path>/usr/lib/node_modules/</assetic:node-path>
166166
</assetic:filter>
167167
</assetic:config>

bundles/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ bundle configuration would look like:
8181
8282
<!-- app/config/config.xml -->
8383
<?xml version="1.0" ?>
84-
8584
<container xmlns="http://symfony.com/schema/dic/services"
85+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8686
xmlns:acme-social="http://example.org/schema/dic/acme_social"
8787
xsi:schemaLocation="http://symfony.com/schema/dic/services
8888
http://symfony.com/schema/dic/services/services-1.0.xsd">

configuration.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,6 @@ it *also* loads other configuration files via its ``imports`` key:
150150
<?xml version="1.0" encoding="UTF-8" ?>
151151
<container xmlns="http://symfony.com/schema/dic/services"
152152
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
153-
xmlns:framework="http://symfony.com/schema/dic/symfony"
154-
xmlns:twig="http://symfony.com/schema/dic/twig"
155153
xsi:schemaLocation="http://symfony.com/schema/dic/services
156154
http://symfony.com/schema/dic/services/services-1.0.xsd
157155
http://symfony.com/schema/dic/symfony
@@ -216,7 +214,6 @@ key:
216214
<container xmlns="http://symfony.com/schema/dic/services"
217215
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
218216
xmlns:framework="http://symfony.com/schema/dic/symfony"
219-
xmlns:twig="http://symfony.com/schema/dic/twig"
220217
xsi:schemaLocation="http://symfony.com/schema/dic/services
221218
http://symfony.com/schema/dic/services/services-1.0.xsd
222219
http://symfony.com/schema/dic/symfony

doctrine/pdo_session_storage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ To use it, you just need to change some parameters in the main configuration fil
4646
4747
<services>
4848
<service id="session.handler.pdo" class="Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler" public="false">
49-
<argument>mysql:dbname=mydatabase</agruement>
49+
<argument>mysql:dbname=mydatabase</argument>
5050
<argument type="collection">
5151
<argument key="db_username">myuser</argument>
5252
<argument key="db_password">mypassword</argument>
@@ -99,7 +99,7 @@ a second array argument to ``PdoSessionHandler``:
9999
<!-- app/config/config.xml -->
100100
<services>
101101
<service id="session.handler.pdo" class="Symfony\Component\HttpFoundatio ED4F n\Session\Storage\Handler\PdoSessionHandler" public="false">
102-
<argument>mysql:dbname=mydatabase</agruement>
102+
<argument>mysql:dbname=mydatabase</argument>
103103
<argument type="collection">
104104
<argument key="db_table">sessions</argument>
105105
<argument key="db_username">myuser</argument>

http_cache/esi.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ that must be enabled in your configuration:
237237
<?xml version="1.0" encoding="UTF-8" ?>
238238
<container xmlns="http://symfony.com/schema/dic/services"
239239
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
240-
xmlns:framework="http://symfony.com/schema/dic/framework"
240+
xmlns:framework="http://symfony.com/schema/dic/symfony"
241241
xsi:schemaLocation="http://symfony.com/schema/dic/services
242242
http://symfony.com/schema/dic/services/services-1.0.xsd
243243
http://symfony.com/schema/dic/symfony

reference/configuration/security.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,10 +494,10 @@ multiple firewalls, the "context" could actually be shared:
494494
<!-- app/config/security.xml -->
495495
<security:config>
496496
<security:firewall name="somename" context="my_context">
497-
<! ... ->
497+
<!-- ... -->
498498
</security:firewall>
499499
<security:firewall name="othername" context="my_context">
500-
<! ... ->
500+
<!-- ... -->
501501
</security:firewall>
502502
</security:config>
503503

security/api_key_authentication.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,8 +436,9 @@ If you have defined ``access_control``, make sure to add a new entry:
436436
xmlns:srv="http://symfony.com/schema/dic/services"
437437
xsi:schemaLocation="http://symfony.com/schema/dic/services
438438
http://symfony.com/schema/dic/services/services-1.0.xsd">
439-
440-
<rule path="^/api" role="ROLE_API" />
439+
<config>
440+
<rule path="^/api" role="ROLE_API" />
441+
</config>
441442
</srv:container>
442443
443444
.. code-block:: php

0 commit comments

Comments
 (0)
0