When I run Phan locally following https://www.mediawiki.org/wiki/Continuous_integration/Phan#Manual to install it, I get errors on current master that do not show up on CI.
CI seems to use 0.8.0 so that could be related. I could not run 0.8.0 locally due to some PHP configuration things. But see my config below:
PHP 7.1.8
php-ast 0.1.5
Phan 0.8.5
see issues