<commit_before>language: php

cache:
  directories:
    - $HOME/.composer/cache
    - $HOME/.php-cs-fixer

matrix:
  include:
    - php: 5.6
      env:
        - DEPENDENCIES="--prefer-stable"
    - php: 5.6
      env:
        - DEPENDENCIES="--prefer-lowest --prefer-stable"
    - php: 7.0
      env:
        - DEPENDENCIES="--prefer-stable"
    - php: 7.0
      env:
        - DEPENDENCIES="--prefer-lowest --prefer-stable"
    - php: 7.1
      env:
        - DEPENDENCIES="--prefer-stable"
    - php: 7.1
      env:
        - DEPENDENCIES="--prefer-lowest --prefer-stable"

    - php: 7.2
      env:
        - DEPENDENCIES="--prefer-stable"
    - php: 7.2
      env:
        - DEPENDENCIES="--prefer-lowest --prefer-stable"

    - php: 7.3
      env:
        - DEPENDENCIES="--prefer-stable"
        - TEST_COVERAGE=true
    - php: 7.3
      env:
        - DEPENDENCIES="--prefer-lowest --prefer-stable"


before_script:
  - phpenv config-rm xdebug.ini
  - composer self-update
  - composer update --prefer-source $DEPENDENCIES

script:
  - vendor/bin/php-cs-fixer fix -v --diff --dry-run
  - if [[ $TEST_COVERAGE == 'true' ]]; then php -dzend_extension=xdebug.so ./vendor/bin/phpunit --coverage-text --coverage-clover ./build/logs/clover.xml; else ./vendor/bin/phpunit; fi

after_success:
  - if [[ $TEST_COVERAGE == 'true' ]]; then php vendor/bin/coveralls -v; fi
<commit_msg>added tests for php74<commit_after>language: php

cache:
  directories:
    - $HOME/.composer/cache
    - $HOME/.php-cs-fixer

matrix:
  include:
    - php: 5.6
      env:
        - DEPENDENCIES="--prefer-stable"
    - php: 5.6
      env:
        - DEPENDENCIES="--prefer-lowest --prefer-stable"
    - php: 7.0
      env:
        - DEPENDENCIES="--prefer-stable"
    - php: 7.0
      env:
        - DEPENDENCIES="--prefer-lowest --prefer-stable"
    - php: 7.1
      env:
        - DEPENDENCIES="--prefer-stable"
    - php: 7.1
      env:
        - DEPENDENCIES="--prefer-lowest --prefer-stable"

    - php: 7.2
      env:
        - DEPENDENCIES="--prefer-stable"
    - php: 7.2
      env:
        - DEPENDENCIES="--prefer-lowest --prefer-stable"

    - php: 7.3
      env:
        - DEPENDENCIES="--prefer-stable"
        - TEST_COVERAGE=true
    - php: 7.3
      env:
        - DEPENDENCIES="--prefer-lowest --prefer-stable"

    - php: 7.4
      env:
        - DEPENDENCIES="--prefer-stable"
        - TEST_COVERAGE=true
    - php: 7.4
      env:
        - DEPENDENCIES="--prefer-lowest --prefer-stable"


before_script:
  - phpenv config-rm xdebug.ini
  - composer self-update
  - composer update --prefer-source $DEPENDENCIES

script:
  - vendor/bin/php-cs-fixer fix -v --diff --dry-run
  - if [[ $TEST_COVERAGE == 'true' ]]; then php -dzend_extension=xdebug.so ./vendor/bin/phpunit --coverage-text --coverage-clover ./build/logs/clover.xml; else ./vendor/bin/phpunit; fi

after_success:
  - if [[ $TEST_COVERAGE == 'true' ]]; then php vendor/bin/coveralls -v; fi

{'fraction_non_alphanumeric': 0.15830508474576271, 'fraction_numerical': 0.015593220338983051, 'mean_word_length': 1.8484555984555984, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '5845126', 'n_tokens_mistral': 1198, 'n_tokens_neox': 1158, 'n_words': 197}