Skip to content

Commit bc6e0f8

Browse files
Raphaëll Rousselfabpot
Raphaëll Roussel
authored andcommitted
Remove gendered pronouns
1 parent dc8c506 commit bc6e0f8

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/Symfony/Component/Form/FormRenderer.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,9 @@ public function searchAndRenderBlock(FormView $view, $blockNameSuffix, array $va
161161
// to implement a custom "choice_widget" block (no matter in which theme),
162162
// or to fallback to the block of the parent type, which would be
163163
// "form_widget" in this example (again, no matter in which theme).
164-
// If the designer wants to explicitly fallback to "form_widget" in his
165-
// custom "choice_widget", for example because he only wants to wrap
166-
// a <div> around the original implementation, he can simply call the
164+
// If the designer wants to explicitly fallback to "form_widget" in their
165+
// custom "choice_widget", for example because they only want to wrap
166+
// a <div> around the original implementation, they can simply call the
167167
// widget() function again to render the block for the parent type.
168168
//
169169
// The second kind is implemented in the following blocks.

src/Symfony/Component/Form/Tests/AbstractTableLayoutTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ public function testFormEndWithRest()
470470
// Insert the start tag, the end tag should be rendered by the helper
471471
// Unfortunately this is not valid HTML, because the surrounding table
472472
// tag is missing. If someone renders a form with table layout
473-
// manually, she should call form_rest() explicitly within the <table>
473+
// manually, they should call form_rest() explicitly within the <table>
474474
// tag.
475475
$this->assertMatchesXpath('<form>'.$html,
476476
'/form

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -783,14 +783,14 @@ public function getQueryStringNormalizationData()
783783

784784
// GET parameters, that are submitted from a HTML form, encode spaces as "+" by default (as defined in enctype application/x-www-form-urlencoded).
785785
// PHP also converts "+" to spaces when filling the global _GET or when using the function parse_str.
786-
['him=John%20Doe&her=Jane+Doe', 'her=Jane%20Doe&him=John%20Doe', 'normalizes spaces in both encodings "%20" and "+"'],
786+
['baz=Foo%20Baz&bar=Foo+Bar', 'bar=Foo%20Bar&baz=Foo%20Baz', 'normalizes spaces in both encodings "%20" and "+"'],
787787

788788
['foo[]=1&foo[]=2', 'foo%5B%5D=1&foo%5B%5D=2', 'allows array notation'],
789789
['foo=1&foo=2', 'foo=1&foo=2', 'allows repeated parameters'],
790790
['pa%3Dram=foo%26bar%3Dbaz&test=test', 'pa%3Dram=foo%26bar%3Dbaz&test=test', 'works with encoded delimiters'],
791791
['0', '0', 'allows "0"'],
792-
['Jane Doe&John%20Doe', 'Jane%20Doe&John%20Doe', 'normalizes encoding in keys'],
793-
['her=Jane Doe&him=John%20Doe', 'her=Jane%20Doe&him=John%20Doe', 'normalizes encoding in values'],
792+
['Foo Bar&Foo%20Baz', 'Foo%20Bar&Foo%20Baz', 'normalizes encoding in keys'],
793+
['bar=Foo Bar&baz=Foo%20Baz', 'bar=Foo%20Bar&baz=Foo%20Baz', 'normalizes encoding in values'],
794794
['foo=bar&&&test&&', 'foo=bar&test', 'removes unneeded delimiters'],
795795
['formula=e=m*c^2', 'formula=e%3Dm%2Ac%5E2', 'correctly treats only the first "=" as delimiter and the next as value'],
796796

0 commit comments

Comments
 (0)