Skip to content

Commit 4ee48c4

Browse files
committed
minor symfony#40180 Fix: Article (localheinz)
This PR was merged into the 4.4 branch. Discussion ---------- Fix: Article | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | n/a | License | MIT | Doc PR | n/a This pull request * [x] fixes usages of the indefinite article `a` where `an` should be used instead Commits ------- 34b320b Fix: Article
2 parents e62ef2a + 34b320b commit 4ee48c4

File tree

25 files changed

+30
-30
lines changed

25 files changed

+30
-30
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,7 @@ private function addHttpClientSection(ArrayNodeDefinition $rootNode)
14311431
->info('A network interface name, IP address, a host name or a UNIX socket to bind to.')
14321432
->end()
14331433
->booleanNode('verify_peer')
1434-
->info('Indicates if the peer should be verified in a SSL/TLS context.')
1434+
->info('Indicates if the peer should be verified in an SSL/TLS context.')
14351435
->end()
14361436
->booleanNode('verify_host')
14371437
->info('Indicates if the host should exist as a certificate common name.')
@@ -1570,7 +1570,7 @@ private function addHttpClientSection(ArrayNodeDefinition $rootNode)
15701570
->info('A network interface name, IP address, a host name or a UNIX socket to bind to.')
15711571
->end()
15721572
->booleanNode('verify_peer')
1573-
->info('Indicates if the peer should be verified in a SSL/TLS context.')
1573+
->info('Indicates if the peer should be verified in an SSL/TLS context.')
15741574
->end()
15751575
->booleanNode('verify_host')
15761576
->info('Indicates if the host should exist as a certificate common name.')

src/Symfony/Component/BrowserKit/Client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ public function submit(Form $form, array $values = []/*, array $serverParameters
331331
* @param string $button The text content, id, value or name of the form <button> or <input type="submit">
332332
* @param array $fieldValues Use this syntax: ['my_form[name]' => '...', 'my_form[email]' => '...']
333333
* @param string $method The HTTP method used to submit the form
334-
* @param array $serverParameters These values override the ones stored in $_SERVER (HTTP headers must include a HTTP_ prefix as PHP does)
334+
* @param array $serverParameters These values override the ones stored in $_SERVER (HTTP headers must include an HTTP_ prefix as PHP does)
335335
*/
336336
public function submitForm(string $button, array $fieldValues = [], string $method = 'POST', array $serverParameters = []): Crawler
337337
{
@@ -352,7 +352,7 @@ public function submitForm(string $button, array $fieldValues = [], string $meth
352352
* @param string $uri The URI to fetch
353353
* @param array $parameters The Request parameters
354354
* @param array $files The files
355-
* @param array $server The server parameters (HTTP headers are referenced with a HTTP_ prefix as PHP does)
355+
* @param array $server The server parameters (HTTP headers are referenced with an HTTP_ prefix as PHP does)
356356
* @param string $content The raw body data
357357
* @param bool $changeHistory Whether to update the history or not (only used internally for back(), forward(), and reload())
358358
*

src/Symfony/Component/Config/Definition/Dumper/XmlReferenceDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
use Symfony\Component\Config\Definition\PrototypedArrayNode;
1919

2020
/**
21-
* Dumps a XML reference configuration for the given configuration/node instance.
21+
* Dumps an XML reference configuration for the given configuration/node instance.
2222
*
2323
* @author Wouter J <[email protected]>
2424
*/

src/Symfony/Component/DependencyInjection/Compiler/ResolveClassPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function process(ContainerBuilder $container)
3131
}
3232
if (preg_match('/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*+(?:\\\\[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*+)++$/', $id)) {
3333
if ($definition instanceof ChildDefinition && !class_exists($id)) {
34-
throw new InvalidArgumentException(sprintf('Service definition "%s" has a parent but no class, and its name looks like a FQCN. Either the class is missing or you want to inherit it from the parent service. To resolve this ambiguity, please rename this service to a non-FQCN (e.g. using dots), or create the missing class.', $id));
34+
throw new InvalidArgumentException(sprintf('Service definition "%s" has a parent but no class, and its name looks like an FQCN. Either the class is missing or you want to inherit it from the parent service. To resolve this ambiguity, please rename this service to a non-FQCN (e.g. using dots), or create the missing class.', $id));
3535
}
3636
$definition->setClass($id);
3737
}

src/Symfony/Component/DependencyInjection/Loader/Configurator/Traits/BindTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ trait BindTrait
2626
* injected in the matching parameters (of the constructor, of methods
2727
* called and of controller actions).
2828
*
29-
* @param string $nameOrFqcn A parameter name with its "$" prefix, or a FQCN
29+
* @param string $nameOrFqcn A parameter name with its "$" prefix, or an FQCN
3030
* @param mixed $valueOrRef The value or reference to bind
3131
*
3232
* @return $this

src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ private function parseDefinition(\DOMElement $service, string $file, array $defa
386386
}
387387

388388
/**
389-
* Parses a XML file to a \DOMDocument.
389+
* Parses an XML file to a \DOMDocument.
390390
*
391391
* @throws InvalidArgumentException When loading of XML file returns error
392392
*/

src/Symfony/Component/DependencyInjection/Tests/Compiler/ResolveClassPassTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function testClassFoundChildDefinition()
8686
public function testAmbiguousChildDefinition()
8787
{
8888
$this->expectException(InvalidArgumentException::class);
89-
$this->expectExceptionMessage('Service definition "App\Foo\Child" has a parent but no class, and its name looks like a FQCN. Either the class is missing or you want to inherit it from the parent service. To resolve this ambiguity, please rename this service to a non-FQCN (e.g. using dots), or create the missing class.');
89+
$this->expectExceptionMessage('Service definition "App\Foo\Child" has a parent but no class, and its name looks like an FQCN. Either the class is missing or you want to inherit it from the parent service. To resolve this ambiguity, please rename this service to a non-FQCN (e.g. using dots), or create the missing class.');
9090
$container = new ContainerBuilder();
9191
$container->register('App\Foo', null);
9292
$container->setDefinition('App\Foo\Child', new ChildDefinition('App\Foo'));

src/Symfony/Component/DomCrawler/Field/ChoiceFormField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* ChoiceFormField represents a choice form field.
1616
*
17-
* It is constructed from a HTML select tag, or a HTML checkbox, or radio inputs.
17+
* It is constructed from an HTML select tag, or an HTML checkbox, or radio inputs.
1818
*
1919
* @author Fabien Potencier <[email protected]>
2020
*/

src/Symfony/Component/Form/Extension/Core/DataTransformer/DateTimeToHtml5LocalDateTimeTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class DateTimeToHtml5LocalDateTimeTransformer extends BaseDateTimeTransformer
2626
* Transforms a \DateTime into a local date and time string.
2727
*
2828
* According to the HTML standard, the input string of a datetime-local
29-
* input is a RFC3339 date followed by 'T', followed by a RFC3339 time.
29+
* input is an RFC3339 date followed by 'T', followed by an RFC3339 time.
3030
* https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#valid-local-date-and-time-string
3131
*
3232
* @param \DateTime|\DateTimeInterface $dateTime A DateTime object

src/Symfony/Component/Form/Extension/Core/Type/DateTimeType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public function buildView(FormView $view, FormInterface $form, array $options)
213213
{
214214
$view->vars['widget'] = $options['widget'];
215215

216-
// Change the input to a HTML5 datetime input if
216+
// Change the input to an HTML5 datetime input if
217217
// * the widget is set to "single_text"
218218
// * the format matches the one expected by HTML5
219219
// * the html5 is set to true

0 commit comments

Comments
 (0)