After upgrading a symfony project, I got an error parsing the config for swiftmailer. The item that seemed to be causing the issue was "cafile". I had stream_options defined in both config.yml and config-dev.yml. Only in the dev file I added the cafile item. On upgrade it caused an issue.
After upgrading a symfony project, I got an error parsing the config for swiftmailer. The item that seemed to be causing the issue was "cafile". I had stream_options defined in both config.yml and config-dev.yml. Only in the dev file I added the cafile item. On upgrade it caused an issue.
My config.yml has this:
but my config_dev.yml has this:
Notice the extra line for the "cafile" that is not in the config.yml.
Why should this make a difference?