symfony / swiftmailer-bundle

Symfony Swiftmailer Bundle
https://symfony.com/swiftmailer-bundle
MIT License
1.56k stars 151 forks source link

Fix the handling of null as top-level extension config #231

Closed stof closed 6 years ago

stof commented 6 years ago

Symfony 4 does not cast null to an empty array when loading the top-level YAML config anymore. But the normalization creating a single default mailer in the prototyped node was not triggered when the top-level node was null. This now converts null to an empty array in the normalization logic.

This makes tests green again.