Skip to content

Commit fd012d1

Browse files
committed
Fix typos in documentation and code comments
1 parent 882d498 commit fd012d1

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

src/Symfony/Bridge/PsrHttpMessage/Tests/Functional/CovertTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
use Symfony\Component\HttpFoundation\Response;
2929

3030
/**
31-
* Test to convert a request/response back and forth to make sure we do not loose data.
31+
* Test to convert a request/response back and forth to make sure we do not lose data.
3232
*
3333
* @author Tobias Nyholm <[email protected]>
3434
*/

src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ CHANGELOG
706706
* added Client::enableProfiler()
707707
* a new parameter has been added to the DIC: `router.request_context.base_url`
708708
You can customize it for your functional tests or for generating URLs with
709-
the right base URL when your are in the CLI context.
709+
the right base URL when you are in the CLI context.
710710
* added support for default templates per render tag
711711

712712
2.1.0

src/Symfony/Component/HttpFoundation/Tests/RequestTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1559,7 +1559,7 @@ public static function providePreferredLanguage(): iterable
15591559
yield '"fr_FR" is selected as "fr" is a similar dialect (2)' => ['fr_FR', 'ja-JP,fr;q=0.5,en_US;q=0.3', ['en_US', 'fr_FR']];
15601560
yield '"fr_FR" is selected as "fr_CA" is a similar dialect and has a greater "q" compared to "en_US" (2)' => ['fr_FR', 'ja-JP,fr_CA;q=0.7,ru-ru;q=0.3', ['en_US', 'fr_FR']];
15611561
yield '"fr_FR" is selected as "fr_CA" is a similar dialect and has a greater "q" compared to "en"' => ['fr_FR', 'ja-JP,fr_CA;q=0.7,en;q=0.5', ['en_US', 'fr_FR']];
1562-
yield '"fr_FR" is selected as is is an exact match as well as "en_US", but with a greater "q" parameter' => ['fr_FR', 'en-us;q=0.5,fr-fr', ['en_US', 'fr_FR']];
1562+
yield '"fr_FR" is selected as it is an exact match as well as "en_US", but with a greater "q" parameter' => ['fr_FR', 'en-us;q=0.5,fr-fr', ['en_US', 'fr_FR']];
15631563
yield '"hi_IN" is selected as "hi_Latn_IN" is a similar dialect' => ['hi_IN', 'fr-fr,hi_Latn_IN;q=0.5', ['hi_IN', 'en_US']];
15641564
yield '"hi_Latn_IN" is selected as "hi_IN" is a similar dialect' => ['hi_Latn_IN', 'fr-fr,hi_IN;q=0.5', ['hi_Latn_IN', 'en_US']];
15651565
yield '"en_US" is selected as "en_Latn_US+variants+extensions" is a similar dialect' => ['en_US', 'en-latn-us-fonapi-u-nu-numerical-x-private,fr;q=0.5', ['fr_FR', 'en_US']];

src/Symfony/Component/Mailer/Bridge/Mailchimp/Webhook/MailchimpRequestParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ private function validateSignature(array $content, string $secret, string $webho
6666
// First add url to signedData.
6767
$signedData = $webhookUrl;
6868

69-
// When no params is set we know its a test and we set the key to test.
69+
// When no params is set we know it's a test and we set the key to test.
7070
if ('[]' === $content['mandrill_events']) {
7171
$secret = 'test-webhook';
7272
}

src/Symfony/Component/Mailer/Bridge/Sendgrid/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ framework:
2828
routing:
2929
sendgrid:
3030
service: mailer.webhook.request_parser.sendgrid
31-
secret: '!SENDGRID_VALIDATION_SECRET!' # Leave blank if you dont want to use the signature validation
31+
secret: '!SENDGRID_VALIDATION_SECRET!' # Leave blank if you don't want to use the signature validation
3232
```
3333
3434
And a consume:

src/Symfony/Component/Translation/Bridge/Phrase/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Phrase locale names
2727
-------------------
2828

2929
Translations being imported using the Symfony XLIFF format in Phrase, locales are matched on locale name in Phrase.
30-
Therefor it's necessary the locale names should be as defined in [RFC4646](https://www.ietf.org/rfc/rfc4646.txt) (e.g. pt-BR rather than pt_BR).
30+
Therefore it's necessary the locale names should be as defined in [RFC4646](https://www.ietf.org/rfc/rfc4646.txt) (e.g. pt-BR rather than pt_BR).
3131
Not doing so will result in Phrase creating a new locale for the imported keys.
3232

3333
Locale creation
@@ -45,7 +45,7 @@ Cache
4545
-----
4646

4747
The read responses from Phrase are cached to speed up the read and delete methods of this provider and also to contribute to the rate limit as little as possible.
48-
Therefor the factory should be initialised with a PSR-6 compatible cache adapter.
48+
Therefore the factory should be initialised with a PSR-6 compatible cache adapter.
4949

5050
Fine tuning your Phrase api calls
5151
---------------------------------

0 commit comments

Comments
 (0)