File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,15 @@ RUN apk --update add \
1212 php7-openssl \
1313 php7-pcntl \
1414 php7-phar \
15+  php7-simplexml \
1516 php7-sockets \
17+  php7-tokenizer \
18+  php7-xml \
19+  php7-xmlwriter \
1620 curl \
1721 git && \
1822 rm /var/cache/apk/* && \
19-  ln -s  /usr/bin/php7 /usr/bin/php
23+  ln -sf  /usr/bin/php7 /usr/bin/php
2024
2125RUN  adduser -u 9000 -D app
2226
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ public function run($files)
120120 }
121121
122122 return  $ resultFile
123-  } catch  (Exception $ e
123+  } catch  (\ Throwable $ e
124124 error_log ("Exception:  "  . $ egetMessage () . " in  "  . $ egetFile () . "\n"  . $ egetTraceAsString ());
125125 return  $ e
126126 }
Original file line number Diff line number Diff line change 3232$ results$ serverget_all_results ();
3333
3434foreach  ($ resultsas  $ result_file
35-  if  (is_a ($ result_file"Exception " )) {
35+  if  (is_a ($ result_file"Throwable " )) {
3636 exit (1 );
3737 }
3838
                         You can’t perform that action at this time. 
           
                  
0 commit comments