Cleanup undefined method warnings

All remaining undefined method warnings come from the Flow\Formatter
namespace.  Those classes are being heavily reworked, not changing them
here as it would just cause a big merge conflict. 

Once the Flow\Formatter namespace is cleaned up the PhpUndefinedMethodinspection
can be re-enabled in scripts/analyze-phpstorm.xml

Change-Id: I1a305d54c672648ee08c696faf87635b8ce08859