The integral is actually the following:
$$p(\mathbf{y}|\mathbf{x})=\int p(\mathbf{y|\mathbf{x},\mathbf{w}})p(\mathbf{w})d\mathbf{w}$$
Here, $p(\mathbf{y|\mathbf{x},\mathbf{w}})$ is the distribution of $\mathbf{y}$ when we know $\mathbf{x}$ and $\mathbf{w}$, in which the relation is actually deterministic, i.e. $\mathbf{y}=\mathbf{\Phi(x)}\mathbf{w}$. So, $\mathbf{y}$ can only be single value, whose distribution is represented by dirac-delta functions to be able to do further analysis. This deterministic relation is automatically enforced because the delta function will ensure that no $\mathbf{w}$ value will be integrated if $\mathbf{y}\neq \mathbf{\Phi(x)}\mathbf{w}$, since $\delta(\mathbf{y}-\mathbf{\Phi(x)}\mathbf{w})$ is $0$ when the two are not equal. This is not the same as replacing $p(\mathbf{y|\mathbf{x},\mathbf{w}})$ with $\mathbf{\Phi(x)w}$.