The derivative of that term is φ(x), so it must not be constant (if it is not a variable upper limit). Generally, it is better to use another variable, such as the integral of φ(t) from 0 to x, but what is actually needed is an original function of φ(x).