<commit_before>FROM php:8.0-cli as rector
WORKDIR /rector

# Install php extensions
RUN apt-get update && apt-get install -y \
        git \
        unzip \
        g++ \
        libzip-dev \
        libicu-dev \
    && rm -rf /var/lib/apt/lists/* \
    && pecl -q install \
        zip \
    && docker-php-ext-configure \
        opcache --enable-opcache \
    && docker-php-ext-enable \
        zip \
        opcache \
    && docker-php-ext-configure intl \
    && docker-php-ext-install intl

COPY --from=composer:latest /usr/bin/composer /usr/bin/composer

ENV COMPOSER_ALLOW_SUPERUSER=1 COMPOSER_MEMORY_LIMIT=-1<commit_msg>Specify an explicit Composer version (#5589)<commit_after>FROM php:8.0-cli as rector
WORKDIR /rector

# Install php extensions
RUN apt-get update && apt-get install -y \
        git \
        unzip \
        g++ \
        libzip-dev \
        libicu-dev \
    && rm -rf /var/lib/apt/lists/* \
    && pecl -q install \
        zip \
    && docker-php-ext-configure \
        opcache --enable-opcache \
    && docker-php-ext-enable \
        zip \
        opcache \
    && docker-php-ext-configure intl \
    && docker-php-ext-install intl

COPY --from=composer:2.0.9 /usr/bin/composer /usr/bin/composer

ENV COMPOSER_ALLOW_SUPERUSER=1 COMPOSER_MEMORY_LIMIT=-1
{'fraction_non_alphanumeric': 0.12830482115085537, 'fraction_numerical': 0.01166407465007776, 'mean_word_length': 1.8856502242152466, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1935790', 'n_tokens_mistral': 468, 'n_tokens_neox': 451, 'n_words': 92}