Skip to content

Commit 4153352

Browse files
committed
Fix to install PHP AST correctly
1 parent ae0e8f6 commit 4153352

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -y install python-sphinx python-pip d
99
DEBIAN_FRONTEND=noninteractive pip install sphinx_rtd_theme breathe
1010

1111
# XML needed by PHPCodeSniffer 2.3+
12-
# SQLite needed by Phan
12+
# AST and SQLite needed by Phan
1313
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install php-xml php-sqlite3 php-ast
14+
RUN ln -s /etc/php/mods-available/ast.ini /etc/php/7.0/cli/conf.d/20-ast.ini
1415

1516
# Install XDebug 2.4.0
1617
RUN wget https://github.com/xdebug/xdebug/archive/XDEBUG_2_4_0.tar.gz && \

0 commit comments

Comments
 (0)