<commit_before># PHP CircleCI 2.1 configuration file
#
# Check https://circleci.com/docs/2.0/language-php/ for more details
#
version: 2.1

jobs:
  # Install dependencies & run tests.
  build:
    docker:
      - image: circleci/php:7.2-node-browsers
    steps:
      - checkout
      - run: sudo composer self-update
      # Install PHP extensions required by Laravel & this app.
      - run: sudo docker-php-ext-install bcmath pdo_mysql intl
      # Install Composer & npm dependencies (using cache if found).
      - restore_cache:
          keys:
            - composer-v1-{{ checksum "composer.lock" }}
            - composer-v1-
      - run: composer install -n --prefer-dist --ignore-platform-reqs
      - save_cache:
          key: composer-v1-{{ checksum "composer.lock" }}
          paths:
            - vendor
      - restore_cache:
          keys:
            - node-v2-{{ checksum "package-lock.json" }}
            - node-v2-
      - run: npm install
      - save_cache:
          key: node-v2-{{ checksum "package-lock.json" }}
          paths:
            - node_modules
            - ~/.cache/Cypress
      # Build Javacript application.
      - run: npm run build
      # Check PHP code
      - run:
          name: check php code style
          command: vendor/bin/php-cs-fixer fix --dry-run --no-interaction --verbose
<commit_msg>Setting correct PHP version for CircleCI.<commit_after># PHP CircleCI 2.1 configuration file
#
# Check https://circleci.com/docs/2.0/language-php/ for more details
#
version: 2.1

jobs:
  # Install dependencies & run tests.
  build:
    docker:
      - image: circleci/php:7.3-node-browsers
    steps:
      - checkout
      - run: sudo composer self-update
      # Install PHP extensions required by Laravel & this app.
      - run: sudo docker-php-ext-install bcmath pdo_mysql intl
      # Install Composer & npm dependencies (using cache if found).
      - restore_cache:
          keys:
            - composer-v1-{{ checksum "composer.lock" }}
            - composer-v1-
      - run: composer install -n --prefer-dist --ignore-platform-reqs
      - save_cache:
          key: composer-v1-{{ checksum "composer.lock" }}
          paths:
            - vendor
      - restore_cache:
          keys:
            - node-v2-{{ checksum "package-lock.json" }}
            - node-v2-
      - run: npm install
      - save_cache:
          key: node-v2-{{ checksum "package-lock.json" }}
          paths:
            - node_modules
            - ~/.cache/Cypress
      # Build Javacript application.
      - run: npm run build
      # Check PHP code
      - run:
          name: check php code style
          command: vendor/bin/php-cs-fixer fix --dry-run --no-interaction --verbose

{'fraction_non_alphanumeric': 0.11098901098901098, 'fraction_numerical': 0.010256410256410256, 'mean_word_length': 1.7228315054835492, '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': '5589342', 'n_tokens_mistral': 845, 'n_tokens_neox': 818, 'n_words': 221}