<commit_before>FROM php:7.4.5-cli

RUN apt-get update \
    && apt-get install -y --no-install-recommends libzip-dev zip unzip git iproute2 libssl-dev\
    && pecl install xdebug-2.9.4 \
    && docker-php-ext-enable xdebug \
    && rm -rf /var/lib/apt/lists/*

COPY docker/php.ini /usr/local/etc/php/

RUN curl -sS https://getcomposer.org/installer | php \
    && mv composer.phar /usr/local/bin/ \
    && ln -s /usr/local/bin/composer.phar /usr/local/bin/composer \
    && composer global require hirak/prestissimo

RUN  composer global require -v \
        squizlabs/php_codesniffer:~3 \
        phploc/phploc:~5 \
        sebastian/phpcpd:~4 \
        dancryer/php-docblock-checker:~1 \
        phpstan/phpstan:~0 \
        phpmd/phpmd:~2 \
        povils/phpmnd:~2 \
        vantoozz/phpcdm:~1
<commit_msg>~ phpcpd version<commit_after>FROM php:7.4.6-cli

RUN apt-get update \
    && apt-get install -y --no-install-recommends libzip-dev zip unzip git iproute2 libssl-dev\
    && pecl install xdebug-2.9.5 \
    && docker-php-ext-enable xdebug \
    && rm -rf /var/lib/apt/lists/*

COPY docker/php.ini /usr/local/etc/php/

RUN curl -sS https://getcomposer.org/installer | php \
    && mv composer.phar /usr/local/bin/ \
    && ln -s /usr/local/bin/composer.phar /usr/local/bin/composer \
    && composer global require hirak/prestissimo

RUN  composer global require -v \
        squizlabs/php_codesniffer:~3 \
        sebastian/phpcpd:~5 \
        dancryer/php-docblock-checker:~1 \
        phpstan/phpstan:~0 \
        phpmd/phpmd:~2 \
        povils/phpmnd:~2 \
        vantoozz/phpcdm:~1

{'fraction_non_alphanumeric': 0.14223057644110276, 'fraction_numerical': 0.018170426065162906, 'mean_word_length': 2.2262626262626264, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3585592', 'n_tokens_mistral': 640, 'n_tokens_neox': 629, 'n_words': 111}