8000 Fix Typos · symfony/symfony@3345774 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3345774

Browse files
committed
Fix Typos
Signed-off-by: Phil E. Taylor <phil@phil-taylor.com>
1 parent e1bf69c commit 3345774

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/Symfony/Component/Console/Output/AnsiColorMode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ enum AnsiColorMode
2626
case Ansi4;
2727

2828
/*
29-
* 8-bit Ansi colors (240 differents colors + 16 duplicate color codes, ensuring backward compatibility).
29+
* 8-bit Ansi colors (240 different colors + 16 duplicate color codes, ensuring backward compatibility).
3030
* Output syntax is: "ESC[38;5;${foreGroundColorcode};48;5;${backGroundColorcode}m"
3131
* Should be compatible with most terminals.
3232
*/

src/Symfony/Component/DependencyInjection/Argument/ServiceClosureArgument.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
1515

1616
/**
17-
* Represents a service wrapped in a memoizing closure.
17+
* Represents a service wrapped in a memorizing closure.
1818
*
1919
* @author Nicolas Grekas <p@tchwork.com>
2020
*/

src/Symfony/Component/Mailer/Transport/Smtp/Stream/SocketStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public function initialize(): void
145145
if ($this->streamContextOptions) {
146146
$options = array_merge($options, $this->streamContextOptions);
147147
}
148-
// do it unconditionnally as it will be used by STARTTLS as well if supported
148+
// do it unconditionally as it will be used by STARTTLS as well if supported
149149
$options['ssl']['crypto_method'] ??= \STREAM_CRYPTO_METHOD_TLS_CLIENT | \STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT | \STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT;
150150
$streamContext = stream_context_create($options);
151151

src/Symfony/Component/Serializer/Context/Encoder/YamlEncoderContextBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function withFlags(?int $flags): static
5959
}
6060

6161
/**
62-
* Configures whether to perserve empty objects "{}" or to convert them to null.
62+
* Configures whether to preserve empty objects "{}" or to convert them to null.
6363
*/
6464
public function withPreservedEmptyObjects(?bool $preserveEmptyObjects): static
6565
{
Original file line numberDiff line numberDiff line change
@@ -255,21 +255,21 @@ public static function getChooseTests()
255255
new-line in it. Selector = 0.|{1}This is a text with a
256256
new-line in it. Selector = 1.|[1,Inf]This is a text with a
257257
new-line in it. Selector > 1.', 5],
258-
// with double-quotes and id split accros lines
258+
// with double-quotes and id split across lines
259259
['This is a text with a
260260
new-line in it. Selector = 1.', '{0}This is a text with a
261261
new-line in it. Selector = 0.|{1}This is a text with a
262262
new-line in it. Selector = 1.|[1,Inf]This is a text with a
263263
new-line in it. Selector > 1.', 1],
264-
// with single-quotes and id split accros lines
264+
// with single-quotes and id split across lines
265265
['This is a text with a
266266
new-line in it. Selector > 1.', '{0}This is a text with a
267267
new-line in it. Selector = 0.|{1}This is a text with a
268268
new-line in it. Selector = 1.|[1,Inf]This is a text with a
269269
new-line in it. Selector > 1.', 5],
270270
// with single-quotes and \n in text
271271
['This is a text with a\nnew-line in it. Selector = 0.', '{0}This is a text with a\nnew-line in it. Selector = 0.|{1}This is a text with a\nnew-line in it. Selector = 1.|[1,Inf]This is a text with a\nnew-line in it. Selector > 1.', 0],
272-
// with double-quotes and id split accros lines
272+
// with double-quotes and id split across lines
273273
["This is a text with a\nnew-line in it. Selector = 1.", "{0}This is a text with a\nnew-line in it. Selector = 0.|{1}This is a text with a\nnew-line in it. Selector = 1.|[1,Inf]This is a text with a\nnew-line in it. Selector > 1.", 1],
274274
// escape pipe
275275
['This is a text with | in it. Selector = 0.', '{0}This is a text with || in it. Selector = 0.|{1}This is a text with || in it. Selector = 1.', 0],