Replaces string literal with nowdoc/heredoc literal.