Skip to content

Commit 47bb995

Browse files
authored
Typo in PHP version check
1 parent c2caf73 commit 47bb995

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

workspace/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ ARG INSTALL_PCOV=false
334334

335335
RUN if [ ${INSTALL_PCOV} = true ]; then \
336336
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
337-
if [ $(php -r "echo PHP_MAJOR_VERSION;") != "0" ]; then \
337+
if [ $(php -r "echo PHP_MINOR_VERSION;") != "0" ]; then \
338338
pecl install pcov && \
339339
echo "extension=pcov.so" >> /etc/php/${LARADOCK_PHP_VERSION}/cli/php.ini && \
340340
echo "pcov.enabled" >> /etc/php/${LARADOCK_PHP_VERSION}/cli/php.ini \

0 commit comments

Comments
 (0)