<commit_before>checks:
  php: true

filter:
  paths:
    - framework/

  excluded_paths:
    - vendor/

  dependency_paths:
    - vendor/

build:
  image: default-bionic

  environment:
    php:
      version: 7.4.28
      ini:
        xdebug.mode: coverage,develop
        memory_limit: -1

  nodes:
    analysis:
      tests:
        override:
          - php-scrutinizer-run

    phpunit:
      dependencies:
        override:
          - composer self-update
          - composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi

      services:
        db-mysql:
          image: mysql:8.0

          # Define any additional environment variables that are needed by the service.
          env:
            MYSQL_ALLOW_EMPTY_PASSWORD: 1
            MYSQL_ROOT_PASSWORD: <PASSWORD>
            MYSQL_DATABASE: yiitest

          # We automatically forward these ports from your localhost to the service's port.
          # Alternatively, you can also access the service on the "$SERVICE_SOME_NAME_IP"
          # environment variable.
          ports:
            # Forward 127.0.0.1:12345 -> SERVICE_IP:12345
            - 3306

          # If your service writes data to disk like most databases do, you can significantly
          # speed up tests by mounting a ramdisk at those paths.
          ramdisks:
            - /var/lib/data

        db-pgsql:
          image: postgres:14

          # Define any additional environment variables that are needed by the service.
          env:
            POSTGRES_USER: postgres
            POSTGRES_PASSWORD: <PASSWORD>
            POSTGRES_DB: yiitest

          # We automatically forward these ports from your localhost to the service's port.
          # Alternatively, you can also access the service on the "$SERVICE_SOME_NAME_IP"
          # environment variable.
          ports:
            # Forward 127.0.0.1:12345 -> SERVICE_IP:12345
            - 5432

          # If your service writes data to disk like most databases do, you can significantly
          # speed up tests by mounting a ramdisk at those paths.
          ramdisks:
            - /var/lib/data

        mencached:
          image: memcached

      tests:
        before:
          - sudo locale-gen fr_FR.UTF-8

        override:<commit_msg>Fix typo in pipeline config (#19372)<commit_after>checks:
  php: true

filter:
  paths:
    - framework/

  excluded_paths:
    - vendor/

  dependency_paths:
    - vendor/

build:
  image: default-bionic

  environment:
    php:
      version: 7.4.28
      ini:
        xdebug.mode: coverage,develop
        memory_limit: -1

  nodes:
    analysis:
      tests:
        override:
          - php-scrutinizer-run

    phpunit:
      dependencies:
        override:
          - composer self-update
          - composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi

      services:
        db-mysql:
          image: mysql:8.0

          # Define any additional environment variables that are needed by the service.
          env:
            MYSQL_ALLOW_EMPTY_PASSWORD: 1
            MYSQL_ROOT_PASSWORD: <PASSWORD>
            MYSQL_DATABASE: yiitest

          # We automatically forward these ports from your localhost to the service's port.
          # Alternatively, you can also access the service on the "$SERVICE_SOME_NAME_IP"
          # environment variable.
          ports:
            # Forward 127.0.0.1:12345 -> SERVICE_IP:12345
            - 3306

          # If your service writes data to disk like most databases do, you can significantly
          # speed up tests by mounting a ramdisk at those paths.
          ramdisks:
            - /var/lib/data

        db-pgsql:
          image: postgres:14

          # Define any additional environment variables that are needed by the service.
          env:
            POSTGRES_USER: postgres
            POSTGRES_PASSWORD: postgres
            POSTGRES_DB: yiitest

          # We automatically forward these ports from your localhost to the service's port.
          # Alternatively, you can also access the service on the "$SERVICE_SOME_NAME_IP"
          # environment variable.
          ports:
            # Forward 127.0.0.1:12345 -> SERVICE_IP:12345
            - 5432

          # If your service writes data to disk like most databases do, you can significantly
          # speed up tests by mounting a ramdisk at those paths.
          ramdisks:
            - /var/lib/data

        memcached:
          image: memcached

      tests:
        before:
          - sudo locale-gen fr_FR.UTF-8

        override:
{'fraction_non_alphanumeric': 0.06467661691542288, 'fraction_numerical': 0.023145143845987454, 'mean_word_length': 1.7136150234741785, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '7101169', 'n_tokens_mistral': 1375, 'n_tokens_neox': 1241, 'n_words': 406}