Skip to content

Commit 63f3217

Browse files
teradrive65kfabpot
authored andcommitted
[DependencyInjection][ErrorHandler][FrameworkBundle][HttpKernel][TwigBridge] Fix "a" before "URL"
1 parent c2172e7 commit 63f3217

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/Symfony/Bridge/Twig/Extension/RoutingExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function getUrl(string $name, array $parameters = [], bool $schemeRelativ
5555
* saving the unneeded automatic escaping for performance reasons.
5656
*
5757
* The URL generation process percent encodes non-alphanumeric characters. So there is no risk
58-
* that malicious/invalid characters are part of the URL. The only character within an URL that
58+
* that malicious/invalid characters are part of the URL. The only character within a URL that
5959
* must be escaped in html is the ampersand ("&") which separates query params. So we cannot mark
6060
* the URL generation as always safe, but only when we are sure there won't be multiple query
6161
* params. This is the case when there are none or only one constant parameter given.

src/Symfony/Bundle/FrameworkBundle/Routing/DelegatingLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function load(mixed $resource, string $type = null): RouteCollection
5555
// the fatal error from occurring a second time,
5656
// otherwise the PHP process would be killed immediately;
5757
// - while rendering the exception page, the router can be required
58-
// (by e.g. the web profiler that needs to generate an URL);
58+
// (by e.g. the web profiler that needs to generate a URL);
5959
// - this handles the case and prevents the second fatal error
6060
// by triggering an exception beforehand.
6161

src/Symfony/Component/DependencyInjection/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ CHANGELOG
126126

127127
* added `%env(trim:...)%` processor to trim a string value
128128
* added `%env(default:param_name:...)%` processor to fallback to a parameter or to null when using `%env(default::...)%`
129-
* added `%env(url:...)%` processor to convert an URL or DNS into an array of components
129+
* added `%env(url:...)%` processor to convert a URL or DNS into an array of components
130130
* added `%env(query_string:...)%` processor to convert a query string into an array of key values
131131
* added support for deprecating aliases
132132
* made `ContainerParametersResource` final and not implement `Serializable` anymore

src/Symfony/Component/ErrorHandler/Resources/bin/patch-type-declarations

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if (\in_array('-h', $argv) || \in_array('--help', $argv)) {
2424
'',
2525
' Available configuration via environment variables:',
2626
' SYMFONY_PATCH_TYPE_DECLARATIONS',
27-
' An url-encoded string to change the behavior of the script. Available parameters:',
27+
' A url-encoded string to change the behavior of the script. Available parameters:',
2828
' - "force": any value enables deprecation notices - can be any of:',
2929
' - "phpdoc" to patch only docblock annotations',
3030
' - "2" to add all possible return types',

src/Symfony/Component/HttpKernel/Fragment/FragmentUriGeneratorInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Symfony\Component\HttpKernel\Controller\ControllerReference;
1616

1717
/**
18-
* Interface implemented by rendering strategies able to generate an URL for a fragment.
18+
* Interface implemented by rendering strategies able to generate a URL for a fragment.
1919
*
2020
* @author Kévin Dunglas <[email protected]>
2121
*/

0 commit comments

Comments
 (0)