|
@@ -52,7 +52,7 @@ class Configuration implements ConfigurationInterface
|
|
|
->scalarNode('transport')
|
|
|
->defaultValue('smtp')
|
|
|
->validate()
|
|
|
- ->ifNotInArray(array ('smtp', 'mail', 'sendmail', 'gmail', null))
|
|
|
+ ->ifNotInArray(array('smtp', 'mail', 'sendmail', 'gmail', null))
|
|
|
->thenInvalid('The %s transport is not supported')
|
|
|
->end()
|
|
|
->end()
|
|
@@ -63,14 +63,14 @@ class Configuration implements ConfigurationInterface
|
|
|
->scalarNode('encryption')
|
|
|
->defaultNull()
|
|
|
->validate()
|
|
|
- ->ifNotInArray(array ('tls', 'ssl', null))
|
|
|
+ ->ifNotInArray(array('tls', 'ssl', null))
|
|
|
->thenInvalid('The %s encryption is not supported')
|
|
|
->end()
|
|
|
->end()
|
|
|
->scalarNode('auth_mode')
|
|
|
->defaultNull()
|
|
|
->validate()
|
|
|
- ->ifNotInArray(array ('plain', 'login', 'cram-md5', null))
|
|
|
+ ->ifNotInArray(array('plain', 'login', 'cram-md5', null))
|
|
|
->thenInvalid('The %s authentication mode is not supported')
|
|
|
->end()
|
|
|
->end()
|