If an exported variable has any line breaks in it, the code comment which Features Override adds to it spans multiple lines as well, so it will not be treated as a code comment.

This leads to a fatal error when the feature is enabled, because the file does not contain valid PHP.

Files: 
CommentFileSizeAuthor
#1 features-override-1555942-1.patch859 bytesDavid_Rothstein

Comments

Status:Active» Needs review
StatusFileSize
new859 bytes

Something like the attached should fix it.

Status:Needs review» Fixed

Looks good. Committed and pushed to 613bcc1.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.