File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -y install python-sphinx python-pip d
1010
1111# XML needed by PHPCodeSniffer 2.3+
1212# SQLite needed by Phan
13- RUN DEBIAN_FRONTEND=noninteractive apt-get -y install php7.0-xml php7.0-sqlite
13+ RUN DEBIAN_FRONTEND=noninteractive apt-get -y install php7.0-xml php7.0-sqlite php-ast
1414
1515# Install XDebug 2.4.0
1616RUN wget https://github.com/xdebug/xdebug/archive/XDEBUG_2_4_0.tar.gz && \
@@ -77,17 +77,6 @@ RUN wget https://www.browserstack.com/browserstack-local/BrowserStackLocal-linux
7777 mv BrowserStackLocal /usr/local/bin/ && \
7878 rm BrowserStackLocal-linux-x64.zip
7979
80- # Install AST (for use with Phan)
81- RUN git clone https://github.com/nikic/php-ast.git && \
82- cd php-ast && \
83- phpize && \
84- ./configure && \
85- make install && \
86- rm -Rf ../php-ast
87-
88- COPY ast.ini /etc/php/mods-available/ast.ini
89- RUN ln -s /etc/php/mods-available/ast.ini /etc/php/7.0/cli/conf.d/20-ast.ini
90-
9180# Turn on PHP error reporting
9281RUN sed -ri 's/^display_errors\s *=\s *Off/display_errors = On/g' /etc/php/7.0/fpm/php.ini && \
9382 sed -ri 's/^display_errors\s *=\s *Off/display_errors = On/g' /etc/php/7.0/cli/php.ini && \
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments