Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
According to PHB p.194 you always score a critical hit on any attack roll. Does this rule also apply to magical attacks, e.g. the inflict wounds spell?
Yes! Attack rolls for spells are attack rolls, per the page you cite, so they can critical.
Required, but never shown