8000 fix invalid code lines and remove extra space · symfony/symfony-docs@18ee5e2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 18ee5e2

Browse files
committed
fix invalid code lines and remove extra space
1 parent c3f8980 commit 18ee5e2

File tree

7 files changed

+10
-11
lines changed

7 files changed

+10
-11
lines changed

controller/argument_value_resolver.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,12 @@ and adding a priority.
164164
<!-- app/config/services.xml -->
165165
<?xml version="1.0" encoding="UTF-8" ?>
166166
<container xmlns="http://symfony.com/schema/dic/services"
167-
xmlns:xsi="'http://www.w3.org/2001/XMLSchema-Instance"
167+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-Instance"
168168
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
169169
170170
<services>
171171
<!-- ... be sure autowiring is enabled -->
172-
<defaults autowire="true" ... />
172+
<defaults autowire="true" />
173173
<!-- ... -->
174174
175175
<service id="AppBundle\ArgumentResolver\UserValueResolver">

controller/error_pages.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ In that case, you might want to override one or both of the ``showAction()`` and
291291
292292
<services>
293293
<!-- ... be sure autowiring is enabled -->
294-
<defaults autowire="true" ... />
294+
<defaults autowire="true" />
295295
<!-- ... -->
296296
297297
<service id="AppBundle\Controller\CustomExceptionController" public="true">

controller/upload_file.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ Now, register this class as a Doctrine listener:
396396
http://symfony.com/schema/dic/services/services-1.0.xsd">
397397
398398
<!-- ... be sure autowiring is enabled -->
399-
<defaults autowire="true" ... />
399+
<defaults autowire="true" />
400400
<!-- ... -->
401401
402402
<service id="AppBundle\EventListener\BrochureUploaderListener">

profiler/data_collector.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,10 +251,10 @@ to specify a tag that contains the template:
251251
252252
<services>
253253
<service id="AppBundle\DataCollector\RequestCollector" public="false">
254+
<!-- priority="300" -->
254255
<tag name="data_collector"
255256
template="data_collector/template.html.twig"
256257
id="app.request_collector"
257-
<!-- priority="300" -->
258258
/>
259259
</service>
260260
</services>

security/api_key_authentication.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,6 @@ configuration or set it to ``false``:
444444
<firewall name="secured_area"
445445
pattern="^/api"
446446
stateless="false"
447-
...
448447
>
449448
</firewall>
450449
</config>

service_container/configurators.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ all the classes are already loaded as services. All you need to do is specify th
151151
http://symfony.com/schema/dic/services/services-1.0.xsd">
152152
153153
<services>
154-
<prototype namespace="AppBundle\" resource="../../src/AppBundle/*" ... />
154+
<prototype namespace="AppBundle\" resource="../../src/AppBundle/*" />
155155
156156
<service id="AppBundle\Mail\NewsletterManager">
157157
<configurator service="AppBundle\Mail\EmailConfigurator" method="configure" />

service_container/expression_language.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ to another service: ``AppBundle\Mailer``. One way to do this is with an expressi
2424
# app/config/config.yml
2525
services:
2626
# ...
27-
27+
2828
AppBundle\Mail\MailerConfiguration: ~
29-
29+
3030
AppBundle\Mailer:
31-
arguments: ["@=service('AppBundle\Mail\MailerConfiguration').getMailerMethod()"]
31+
arguments: ["@=service('AppBundle\\Mail\\MailerConfiguration').getMailerMethod()"]
3232
3333
.. code-block:: xml
3434
@@ -56,7 +56,7 @@ to another service: ``AppBundle\Mailer``. One way to do this is with an expressi
5656
use AppBundle\Mail\MailerConfiguration;
5757
use AppBundle\Mailer;
5858
use Symfony\Component\ExpressionLanguage\Expression;
59-
59+
6060
$container->autowire(AppBundle\Mail\MailerConfiguration::class);
6161
6262
$container->autowire(Mailer::class)

0 commit comments

Comments
 (0)
0