Why do we need a seperate bash script to install pecl ast into Vagrant? Why can't this be done properly into the MediaWiki-Vagrant repo rather than in the extension? The whole script seems to be superfluous as to what could be done in the puppet config inside Vagrant
Also, why are you using the pecl ast, rather than the debian package? https://packages.debian.org/buster/php-ast
T234240: Phan should work out of the box on MediaWiki-Vagrant for phan not working out of the box...