Skip to content

Commit bdf2a28

Browse files
authored
Typo in PHP Version check
1 parent 47bb995 commit bdf2a28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

php-fpm/Dockerfile

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

175175
RUN if [ ${INSTALL_PCOV} = true ]; then \
176176
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ]; then \
177-
if [ $(php -r "echo PHP_MAJOR_VERSION;") != "0" ]; then \
177+
if [ $(php -r "echo PHP_MINOR_VERSION;") != "0" ]; then \
178178
pecl install pcov && \
179179
echo "extension=pcov.so" >> /etc/php/${LARADOCK_PHP_VERSION}/cli/php.ini && \
180180
echo "pcov.enabled" >> /etc/php/${LARADOCK_PHP_VERSION}/cli/php.ini \

0 commit comments

Comments
 (0)