bug #34103 [Notifier] Fix default value for phone number of admins (fabpot)

This PR was merged into the 5.0-dev branch.

Discussion
----------

[Notifier] Fix default value for phone number of admins

| Q             | A
| ------------- | ---
| Branch?       | 5.0
| Bug fix?      | yes
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | <!-- prefix each issue number with "Fix #", if any -->
| License       | MIT
| Doc PR        | n/a

`AdminRecipient` does not support `null` for phone.

Commits
-------

1f82ab6155 [Notifier] Fix default value for phone number of admins
This commit is contained in:
Fabien Potencier 2019-10-24 14:43:04 +02:00
commit cf49a268b5

View File

@ -1531,7 +1531,7 @@ class Configuration implements ConfigurationInterface
->prototype('array')
->children()
->scalarNode('email')->cannotBeEmpty()->end()
->scalarNode('phone')->defaultNull()->end()
->scalarNode('phone')->defaultValue('')->end()
->end()
->end()
->end()