<commit_before>language: php
sudo: false
dist: trusty

php:
  - 7.1
  - 7.2

os: linux

env:
  - COMPOSER_FLAGS="--prefer-lowest"
  - COMPOSER_FLAGS=""

cache:
  directories:
    - $HOME/.composer/cache

stages:
  - composer validate
  - static code analysis

before_install:
  - phpenv config-rm xdebug.ini || echo "xdebug not available"
  - echo 'opcache.enable=1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - echo 'opcache.enable_cli=1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - travis_retry composer self-update

install: travis_retry composer update --optimize-autoloader --prefer-dist --prefer-stable --no-progress --no-interaction --no-suggest $COMPOSER_FLAGS -vv

script: skip

jobs:
  fast_finish: true
  allow_failures:
    - php: nightly
  include:
    - php: nightly
      env: COMPOSER_FLAGS="--ignore-platform-reqs"

    - stage: composer validate
      php: 7.1
      install: skip
      script:
        - composer validate

    - stage: static code analysis
      php: 7.1
      env:
        - COMPOSER_FLAGS=""
        - TEST=phpcs
      script: vendor/bin/phpcs --colors

    - stage: static code analysis
      php: 7.1
      env:
        - COMPOSER_FLAGS=""
        - TEST=php-cs-fixer
      script: vendor/bin/php-cs-fixer fix --dry-run -vv

    - stage: static code analysis
      php: 7.1
      env:
        - COMPOSER_FLAGS=""
        - TEST=phpstan
      script: vendor/bin/phpstan analyse -l max -c phpstan.neon --autoload-file=vendor/autoload.php --memory-limit=768M --no-progress tests

notifications:
  email: false
<commit_msg>add tests on PHP 7.3<commit_after>language: php
sudo: false
dist: trusty

php:
  - 7.1
  - 7.2
  - 7.3

os: linux

env:
  - COMPOSER_FLAGS="--prefer-lowest"
  - COMPOSER_FLAGS=""

cache:
  directories:
    - $HOME/.composer/cache

stages:
  - composer validate
  - static code analysis

before_install:
  - phpenv config-rm xdebug.ini || echo "xdebug not available"
  - echo 'opcache.enable=1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - echo 'opcache.enable_cli=1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
  - travis_retry composer self-update

install: travis_retry composer update --optimize-autoloader --prefer-dist --prefer-stable --no-progress --no-interaction --no-suggest $COMPOSER_FLAGS -vv

script: skip

jobs:
  allow_failures:
    - php: 7.3
    - php: nightly
  include:
    - php: nightly
      env: COMPOSER_FLAGS="--ignore-platform-reqs"

    - stage: composer validate
      php: 7.1
      install: skip
      script:
        - composer validate

    - stage: static code analysis
      php: 7.1
      env:
        - COMPOSER_FLAGS=""
        - TEST=phpcs
      script: vendor/bin/phpcs --colors

    - stage: static code analysis
      php: 7.1
      env:
        - COMPOSER_FLAGS=""
        - TEST=php-cs-fixer
      script: vendor/bin/php-cs-fixer fix --dry-run -vv

    - stage: static code analysis
      php: 7.1
      env:
        - COMPOSER_FLAGS=""
        - TEST=phpstan
      script: vendor/bin/phpstan analyse -l max -c phpstan.neon --autoload-file=vendor/autoload.php --memory-limit=768M --no-progress tests

notifications:
  email: false

{'fraction_non_alphanumeric': 0.12492172824045085, 'fraction_numerical': 0.012523481527864746, 'mean_word_length': 2.345549738219895, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '1586053', 'n_tokens_mistral': 1168, 'n_tokens_neox': 1115, 'n_words': 257}