And of course hit by a Physical move.
Editor Edit: Because you people can't seem to understand what is being asked, let me give you an example.
A Pikachu uses Substitute. A Pidgey then attacks the Pikachu. Will Static activate on the Pidgey?
No because the attack does not hit the pokemon it will hit the substitute