Fixes #1880
This should give a small performance boost. Part of #1837. The change is enforced via phpcs and can be autofixed with phpcbf.
* Add a bunch of new hooks * Add more integrations * Add some broken tests * Add more things * Fix remaining interfaces * Suppress proper issue * UndefinedMethod should not stop analysis * Add handlers for two custom method return types