rECRG3d876fcf74275d0230b8af4cb5c43bc27658a880 caused an unfortunate regression due to an out-of-scope attempt to access a protected property. Phan has been used as a static analysis tool for MediaWiki and many of its extensions for a few years now, and it's fairly capable of catching such trivial problems as well as some more complex issues.
Let's integrate Phan with Cargo to try and take advantage of that.