Skip to content

Commit

Permalink
minor symfony#58146 [Bundles] Fix configurations info consistency (al…
Browse files Browse the repository at this point in the history
…exandre-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
  • Loading branch information
fabpot committed Sep 6, 2024
2 parents 4973ab1 + 82553bc commit 9e81345
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 75 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,27 +28,27 @@ public function getConfigTreeBuilder(): TreeBuilder
$rootNode = $treeBuilder->getRootNode();
$rootNode->children()
->integerNode('max_items')
->info('Max number of displayed items past the first level, -1 means no limit')
->info('Max number of displayed items past the first level, -1 means no limit.')
->min(-1)
->defaultValue(2500)
->end()
->integerNode('min_depth')
->info('Minimum tree depth to clone all the items, 1 is default')
->info('Minimum tree depth to clone all the items, 1 is default.')
->min(0)
->defaultValue(1)
->end()
->integerNode('max_string_length')
->info('Max length of displayed strings, -1 means no limit')
->info('Max length of displayed strings, -1 means no limit.')
->min(-1)
->defaultValue(-1)
->end()
->scalarNode('dump_destination')
->info('A stream URL where dumps should be written to')
->info('A stream URL where dumps should be written to.')
->example('php://stderr, or tcp://%env(VAR_DUMPER_SERVER)% when using the "server:dump" command')
->defaultNull()
->end()
->enumNode('theme')
->info('Changes the color of the dump() output when rendered directly on the templating. "dark" (default) or "light"')
->info('Changes the color of the dump() output when rendered directly on the templating. "dark" (default) or "light".')
->example('dark')
->values(['dark', 'light'])
->defaultValue('dark')
Expand Down
Loading

0 comments on commit 9e81345

Please sign in to comment.