<commit_before>language: php

dist: xenial

php:
  - 5.6
  - 7.0
  - 7.1
  - 7.2
  - 7.3
  - 7.4

matrix:
  include:
    - name: PHPStan
      php: 7.4.7
      before_script:
        - travis_retry composer update --no-interaction --no-dev
        - curl -L https://github.com/phpstan/phpstan/releases/download/0.12.32/phpstan.phar -o phpstan.phar
      script:
        - php phpstan.phar analyse --no-progress

before_script:
  - travis_retry composer update --no-interaction

script:
  - vendor/bin/phpunit --verbose --coverage-text
<commit_msg>Use composer 2<commit_after>language: php

dist: xenial

php:
  - 5.6
  - 7.0
  - 7.1
  - 7.2
  - 7.3
  - 7.4

matrix:
  include:
    - name: PHPStan
      php: 7.4.7
      before_script:
        - travis_retry composer update --no-interaction --no-dev
        - curl -L https://github.com/phpstan/phpstan/releases/download/0.12.32/phpstan.phar -o phpstan.phar
      script:
        - php phpstan.phar analyse --no-progress

before_script:
  - travis_retry composer self-update --2
  - travis_retry composer update --no-interaction

script:
  - vendor/bin/phpunit --verbose --coverage-text

{'fraction_non_alphanumeric': 0.1266490765171504, 'fraction_numerical': 0.036939313984168866, 'mean_word_length': 2.075675675675676, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3245509', 'n_tokens_mistral': 463, 'n_tokens_neox': 428, 'n_words': 90}