I'm not entirely sure I am correct about this but it seems logical to expand the complex exponent and integrate it further from there.
[tex]e^{i \phi} = \cos (\phi) + i \sin (\phi)[/tex]
At a guess I would say yes, [tex]i[/tex] is a constant... Just a logical guess though...