Skip to content

Commit 287f2a2

Browse files
committed
minor #58146 [Bundles] Fix configurations info consistency (alexandre-daubois)
This PR was merged into the 7.2 branch. Discussion ---------- [Bundles] Fix configurations info consistency | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | - | License | MIT Syncs all calls to `->info('...')` with upper first letter + final dot. The vast majority of info messages use this format, but a few are inconsistent. Commits ------- 82553bcd81 Fix configurations info consistency
2 parents ea9cd53 + b686c47 commit 287f2a2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

DependencyInjection/MainConfiguration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ private function addAccessControlSection(ArrayNodeDefinition $rootNode): void
135135
->scalarNode('requires_channel')->defaultNull()->end()
136136
->scalarNode('path')
137137
->defaultNull()
138-
->info('use the urldecoded format')
138+
->info('Use the urldecoded format.')
139139
->example('^/path to resource/')
140140
->end()
141141
->scalarNode('host')->defaultNull()->end()
@@ -208,7 +208,7 @@ private function addFirewallsSection(ArrayNodeDefinition $rootNode, array $facto
208208
->scalarNode('access_denied_url')->end()
209209
->scalarNode('access_denied_handler')->end()
210210
->scalarNode('entry_point')
211-
->info(\sprintf('An enabled authenticator name or a service id that implements "%s"', AuthenticationEntryPointInterface::class))
211+
->info(\sprintf('An enabled authenticator name or a service id that implements "%s".', AuthenticationEntryPointInterface::class))
212212
->end()
213213
->scalarNode('provider')->end()
214214
->booleanNode('stateless')->defaultFalse()->end()

DependencyInjection/Security/Factory/CustomAuthenticatorFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function getKey(): string
3838
public function addConfiguration(NodeDefinition $builder): void
3939
{
4040
$builder
41-
->info('An array of service ids for all of your "authenticators"')
41+
->info('An array of service ids for all of your "authenticators".')
4242
->requiresAtLeastOneElement()
4343
->prototype('scalar')->end();
4444

DependencyInjection/Security/Factory/LoginThrottlingFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function addConfiguration(NodeDefinition $builder): void
5252
->scalarNode('limiter')->info(\sprintf('A service id implementing "%s".', RequestRateLimiterInterface::class))->end()
5353
->integerNode('max_attempts')->defaultValue(5)->end()
5454
->scalarNode('interval')->defaultValue('1 minute')->end()
55-
->scalarNode('lock_factory')->info('The service ID of the lock factory used by the login rate limiter (or null to disable locking)')->defaultNull()->end()
55+
->scalarNode('lock_factory')->info('The service ID of the lock factory used by the login rate limiter (or null to disable locking).')->defaultNull()->end()
5656
->end();
5757
}
5858

0 commit comments

Comments
 (0)