Skip to content

Commit db87ab5

Browse files
committed
remove space before self closing xml tag
1 parent 79e00fe commit db87ab5

File tree

76 files changed

+286
-286
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+286
-286
lines changed

best_practices/forms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ view layer:
134134
{{ form_start(form) }}
135135
{{ form_widget(form) }}
136136

137-
<input type="submit" class="btn" value="Create" />
137+
<input type="submit" class="btn" value="Create"/>
138138
{{ form_end(form) }}
139139

140140
Validation

components/dependency_injection/_imports-parameters-note.rst.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
https://symfony.com/schema/dic/services/services-1.0.xsd">
2323

2424
<imports>
25-
<import resource="%kernel.project_dir%/somefile.yaml" />
25+
<import resource="%kernel.project_dir%/somefile.yaml"/>
2626
</imports>
2727
</container>
2828

components/phpunit_bridge.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ to register a new `test listener`_ called ``SymfonyTestsListener``:
5555
<!-- ... -->
5656
5757
<listeners>
58-
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
58+
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
5959
</listeners>
6060
</phpunit>
6161
@@ -122,7 +122,7 @@ The summary includes:
122122
<!-- phpunit.xml.dist -->
123123
<!-- ... -->
124124
<listeners>
125-
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
125+
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
126126
</listeners>
127127
128128
Trigger Deprecation Notices
@@ -179,8 +179,8 @@ message, enclosed with ``/``. For example, with:
179179
<!-- ... -->
180180
181181
<php>
182-
<server name="KERNEL_CLASS" value="App\Kernel" />
183-
<env name="SYMFONY_DEPRECATIONS_HELPER" value="/foobar/" />
182+
<server name="KERNEL_CLASS" value="App\Kernel"/>
183+
<env name="SYMFONY_DEPRECATIONS_HELPER" value="/foobar/"/>
184184
</php>
185185
</phpunit>
186186
@@ -342,7 +342,7 @@ following listener in your PHPUnit configuration:
342342
<!-- phpunit.xml.dist -->
343343
<!-- ... -->
344344
<listeners>
345-
<listener class="\Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
345+
<listener class="\Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
346346
</listeners>
347347
348348
.. note::
@@ -676,7 +676,7 @@ Add the following configuration to the ``phpunit.xml.dist`` file
676676
<!-- ... -->
677677
678678
<listeners>
679-
<listener class="Symfony\Bridge\PhpUnit\CoverageListener" />
679+
<listener class="Symfony\Bridge\PhpUnit\CoverageListener"/>
680680
</listeners>
681681
</phpunit>
682682

components/serializer.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ defines a ``Person`` entity with a ``firstName`` property:
589589
https://symfony.com/schema/dic/serializer-mapping/serializer-mapping-1.0.xsd"
590590
>
591591
<class name="App\Entity\Person">
592-
<attribute name="firstName" serialized-name="customer_name" />
592+
<attribute name="firstName" serialized-name="customer_name"/>
593593
</class>
594594
</serializer>
595595
@@ -795,7 +795,7 @@ the key ``#comment`` for encoding XML comments::
795795
// will return:
796796
// <?xml version="1.0"?>
797797
// <response>
798-
// <foo bar="value" />
798+
// <foo bar="value"/>
799799
// <qux><!-- A comment --!><qux>
800800
// </response>
801801

@@ -1370,8 +1370,8 @@ and ``BitBucketCodeRepository`` classes:
13701370
>
13711371
<class name="App\CodeRepository">
13721372
<discriminator-map type-property="type">
1373-
<mapping type="github" class="App\GitHubCodeRepository" />
1374-
<mapping type="bitbucket" class="App\BitBucketCodeRepository" />
1373+
<mapping type="github" class="App\GitHubCodeRepository"/>
1374+
<mapping type="bitbucket" class="App\BitBucketCodeRepository"/>
13751375
</discriminator-map>
13761376
</class>
13771377
</serializer>

components/var_dumper.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ the :ref:`dump_destination option <configuration-debug-dump_destination>` of the
140140
https://symfony.com/schema/dic/services/services-1.0.xsd
141141
http://symfony.com/schema/dic/debug https://symfony.com/schema/dic/debug/debug-1.0.xsd">
142142
143-
<debug:config dump-destination="tcp://%env(VAR_DUMPER_SERVER)%" />
143+
<debug:config dump-destination="tcp://%env(VAR_DUMPER_SERVER)%"/>
144144
</container>
145145
146146
.. code-block:: php

configuration.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ instance, the framework bundle is configured in ``config/packages/framework.yaml
4747
http://symfony.com/schema/dic/framework https://symfony.com/schema/dic/framework/framework-1.0.xsd"
4848
>
4949
<framework:config secret="%env(APP_SECRET)%">
50-
<!--<framework:csrf-protection enabled="true“ />-->
51-
<!--<framework:esi enabled="true" />-->
52-
<!--<framework:fragments enabled="true" />-->
50+
<!--<framework:csrf-protection enabled="true“/>-->
51+
<!--<framework:esi enabled="true"/>-->
52+
<!--<framework:fragments enabled="true"/>-->
5353
5454
<!-- Enables session support. Note that the session will ONLY be started if you read or write from it.
5555
Remove or comment this section to explicitly disable session support. -->
56-
<framework:session />
56+
<framework:session/>
5757
58-
<framework:php-errors log="true" />
58+
<framework:php-errors log="true"/>
5959
</framework:config>
6060
</container>
6161

configuration/configuration_organization.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ format (``.yaml``, ``.xml``, ``.php``, ``.ini``):
103103
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
104104
105105
<imports>
106-
<import resource="my_config_file.yaml" />
107-
<import resource="legacy.php" />
106+
<import resource="my_config_file.yaml"/>
107+
<import resource="legacy.php"/>
108108
</imports>
109109
110110
<!-- ... -->
@@ -157,7 +157,7 @@ when importing it from any other configuration file:
157157
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
158158
159159
<imports>
160-
<import resource="/etc/sites/mysite.com/parameters.yaml" ignore-errors="true" />
160+
<import resource="/etc/sites/mysite.com/parameters.yaml" ignore-errors="true"/>
161161
</imports>
162162
163163
<!-- ... -->

configuration/environments.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ the environment variable is passed to the kernel::
158158
http://symfony.com/schema/dic/twig
159159
https://symfony.com/schema/dic/twig/twig-1.0.xsd">
160160
161-
<twig:config debug="%kernel.debug%" />
161+
<twig:config debug="%kernel.debug%"/>
162162
163163
</container>
164164
@@ -231,7 +231,7 @@ configuration file:
231231
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
232232
233233
<framework:config>
234-
<framework:profiler only-exceptions="false" />
234+
<framework:profiler only-exceptions="false"/>
235235
</framework:config>
236236
237237
</container>

configuration/external_parameters.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ turn the value of the ``HTTP_PORT`` env var into an integer:
164164
https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
165165
166166
<framework:config>
167-
<framework:router http-port="%env(int:HTTP_PORT)%" />
167+
<framework:router http-port="%env(int:HTTP_PORT)%"/>
168168
</framework:config>
169169
</container>
170170
@@ -208,7 +208,7 @@ Symfony provides the following env var processors:
208208
<parameter key="env(SECRET)">some_secret</parameter>
209209
</parameters>
210210
211-
<framework:config secret="%env(string:SECRET)%" />
211+
<framework:config secret="%env(string:SECRET)%"/>
212212
</container>
213213
214214
.. code-block:: php
@@ -248,7 +248,7 @@ Symfony provides the following env var processors:
248248
<parameter key="env(HTTP_METHOD_OVERRIDE)">true</parameter>
249249
</parameters>
250250
251-
<framework:config http-methode-override="%env(bool:HTTP_METHOD_OVERRIDE)%" />
251+
<framework:config http-methode-override="%env(bool:HTTP_METHOD_OVERRIDE)%"/>
252252
</container>
253253
254254
.. code-block:: php
@@ -294,7 +294,7 @@ Symfony provides the following env var processors:
294294
</parameters>
295295
296296
<security:config>
297-
<rule path="^/health-check$" methods="%env(const:HEALTH_CHECK_METHOD)%" />
297+
<rule path="^/health-check$" methods="%env(const:HEALTH_CHECK_METHOD)%"/>
298298
</security:config>
299299
</container>
300300
@@ -344,7 +344,7 @@ Symfony provides the following env var processors:
344344
<parameter key="env(TRUSTED_HOSTS)">["10.0.0.1", "10.0.0.2"]</parameter>
345345
</parameters>
346346
347-
<framework:config trusted-hosts="%env(json:TRUSTED_HOSTS)%" />
347+
<framework:config trusted-hosts="%env(json:TRUSTED_HOSTS)%"/>
348348
</container>
349349
350350
.. code-block:: php
@@ -384,7 +384,7 @@ Symfony provides the following env var processors:
384384
<parameter key="env(SENTRY_DSN)">http://%env(HOST)%/project</parameter>
385385
</parameters>
386386
387-
<sentry:config dsn="%env(resolve:SENTRY_DSN)%" />
387+
<sentry:config dsn="%env(resolve:SENTRY_DSN)%"/>
388388
</container>
389389
390390
.. code-block:: php
@@ -435,7 +435,7 @@ Symfony provides the following env var processors:
435435
<parameter key="env(AUTH_FILE)">../config/auth.json</parameter>
436436
</parameters>
437437
438-
<google auth="%env(file:AUTH_FILE)%" />
438+
<google auth="%env(file:AUTH_FILE)%"/>
439439
</container>
440440
441441
.. code-block:: php

configuration/micro_kernel_trait.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ because the configuration started to get bigger:
224224
http://symfony.com/schema/dic/symfony https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">
225225
226226
<framework:config secret="S0ME_SECRET">
227-
<framework:profiler only-exceptions="false" />
227+
<framework:profiler only-exceptions="false"/>
228228
</framework:config>
229229
</container>
230230

0 commit comments

Comments
 (0)