From IRC:
10:10 PM <hexmode[m]> oh, here is a q: do you have php-ast in the docker-dev image?
php-ast is needed for phan to run optimally
From IRC:
10:10 PM <hexmode[m]> oh, here is a q: do you have php-ast in the docker-dev image?
php-ast is needed for phan to run optimally
php-ast cannot simply be installed by a Dockerfile in docker-compose.override.yml with apt-get, because that's /usr/lib/php/20151012/ast.so, and we need /usr/lib/php/20170718/ast.so.
With the new Debian in the images, php-ast now can be installed with apt-get. However, Phan 5 isn't compatible:
ERROR: Phan 5.x requires php-ast 1.0.7+ because it depends on AST version 80. php-ast '0.1.6' is installed.
php-ast has been included in the devrel images since 7.3
https://gitlab.wikimedia.org/releng/dev-images/-/blob/cd4f8451bd6ccdb61030ee598091b9133894b90e/dockerfiles/stretch-php73/Dockerfile.template
This was recently moved to as the default image
T288951: [mwcli docker] use php 7.3 as the default image