Skip to content

Commit 60142c5

Browse files
committed
Merge branch '3.4' into 4.2
* 3.4: missing brackets
2 parents 3344a4f + 4b5ffd4 commit 60142c5

File tree

8 files changed

+10
-8
lines changed

8 files changed

+10
-8
lines changed

components/console/helpers/formatterhelper.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,6 @@ If you don't want to use suffix at all, pass an empty string::
108108

109109
$truncatedMessage = $formatter->truncate($message, 7, '!!'); // result: This is!!
110110
$truncatedMessage = $formatter->truncate($message, 7, ''); // result: This is
111-
$truncatedMessage = $formatter->truncate('test', 10));
111+
$truncatedMessage = $formatter->truncate('test', 10);
112112
/* result: test
113113
because length of the "test..." string is shorter than 10 */

components/console/helpers/table.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ This results in:
305305
$table->setHeaders([
306306
[new TableCell('Main table title', ['colspan' => 3])],
307307
['ISBN', 'Title', 'Author'],
308-
))
308+
])
309309
// ...
310310

311311
This generates:

components/css_selector.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Several pseudo-classes are not yet supported:
9797

9898
* ``*:first-of-type``, ``*:last-of-type``, ``*:nth-of-type``,
9999
``*:nth-last-of-type``, ``*:only-of-type``. (These work with an element
100-
name (e.g. ``li:first-of-type``) but not with ``*``.
100+
name (e.g. ``li:first-of-type``) but not with ``*``).
101101

102102
.. _Packagist: https://packagist.org/packages/symfony/css-selector
103103

components/translation/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ recommended format. These files are parsed by one of the loader classes.
194194
'has' => [
195195
'bundles' => 'Symfony has bundles',
196196
],
197-
),
197+
],
198198
'user' => [
199199
'login' => 'Login',
200200
],

logging.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ one of the messages reaches an ``action_level``. Take this example:
241241
'type' => 'syslog',
242242
'level' => 'error',
243243
],
244-
),
244+
],
245245
]);
246246
247247
Now, if even one log entry has an ``error`` level or higher, then *all* log entries

logging/monolog_email.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,9 @@ You can adjust the time period using the ``time`` option:
180180
// the time in seconds during which duplicate entries are discarded (default: 60)
181181
'time' => 10,
182182
'handler' => 'swift',
183-
]
183+
],
184+
],
185+
]);
184186
185187
The messages are then passed to the ``swift`` handler. This is the handler that
186188
actually deals with emailing you the error. The settings for this are

security/ldap.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ Configuration example for form login and query_string
509509
],
510510
],
511511
]
512-
];
512+
]);
513513
514514
.. _`LDAP PHP extension`: http://www.php.net/manual/en/intro.ldap.php
515515
.. _`RFC4515`: http://www.faqs.org/rfcs/rfc4515.html

validation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ of the form fields::
498498
->add('myField', TextType::class, [
499499
'required' => true,
500500
'constraints' => [new Length(['min' => 3])]
501-
))
501+
])
502502
;
503503
}
504504

0 commit comments

Comments
 (0)