Skip to content

Commit 9e81345

Browse files
committed
minor symfony#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 ------- 82553bc Fix configurations info consistency
2 parents 4973ab1 + 82553bc commit 9e81345

File tree

6 files changed

+75
-75
lines changed

6 files changed

+75
-75
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,27 +28,27 @@ public function getConfigTreeBuilder(): TreeBuilder
2828
$rootNode = $treeBuilder->getRootNode();
2929
$rootNode->children()
3030
->integerNode('max_items')
31-
->info('Max number of displayed items past the first level, -1 means no limit')
31+
->info('Max number of displayed items past the first level, -1 means no limit.')
3232
->min(-1)
3333
->defaultValue(2500)
3434
->end()
3535
->integerNode('min_depth')
36-
->info('Minimum tree depth to clone all the items, 1 is default')
36+
->info('Minimum tree depth to clone all the items, 1 is default.')
3737
->min(0)
3838
->defaultValue(1)
3939
->end()
4040
->integerNode('max_string_length')
41-
->info('Max length of displayed strings, -1 means no limit')
41+
->info('Max length of displayed strings, -1 means no limit.')
4242
->min(-1)
4343
->defaultValue(-1)
4444
->end()
4545
->scalarNode('dump_destination')
46-
->info('A stream URL where dumps should be written to')
46+
->info('A stream URL where dumps should be written to.')
4747
->example('php://stderr, or tcp://%env(VAR_DUMPER_SERVER)% when using the "server:dump" command')
4848
->defaultNull()
4949
->end()
5050
->enumNode('theme')
51-
->info('Changes the color of the dump() output when rendered directly on the templating. "dark" (default) or "light"')
51+
->info('Changes the color of the dump() output when rendered directly on the templating. "dark" (default) or "light".')
5252
->example('dark')
5353
->values(['dark', 'light'])
5454
->defaultValue('dark')

0 commit comments

Comments
 (0)