<commit_before>language: php
php:
  - "7.2"
  - "7.1"
  - "7.0"
  - "5.6"

install:
  - export SONARSCANNER_VERSION=3.2.0.1227
  - wget https://sonarsource.bintray.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONARSCANNER_VERSION-linux.zip
  - unzip sonar-scanner-cli-$SONARSCANNER_VERSION-linux.zip
  - composer install

script:
  - vendor/bin/phpunit --coverage-clover phpunit.coverage.xml --log-junit phpunit.report.xml
  - sonar-scanner-$SONARSCANNER_VERSION-linux/bin/sonar-scanner -Dsonar.login=$SONAR_LOGIN -Dsonar.branch.name=$TRAVIS_BRANCH -Dsonar.branch.target=master

<commit_msg>Updated for master branch<commit_after>language: php
php:
  - "7.2"
  - "7.1"
  - "7.0"
  - "5.6"

install:
  - export SONARSCANNER_VERSION=3.2.0.1227
  - wget https://sonarsource.bintray.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONARSCANNER_VERSION-linux.zip
  - unzip sonar-scanner-cli-$SONARSCANNER_VERSION-linux.zip
  - composer install

script:
  - vendor/bin/phpunit --coverage-clover phpunit.coverage.xml --log-junit phpunit.report.xml
  - if [ "$TRAVIS_BRANCH" != "master" ]; then export SONARSCANNER_PARAM="-Dsonar.branch.name=$TRAVIS_BRANCH -Dsonar.branch.target=master"; fi
  - sonar-scanner-$SONARSCANNER_VERSION-linux/bin/sonar-scanner -Dsonar.login=$SONAR_LOGIN $SONARSCANNER_PARAM


{'fraction_non_alphanumeric': 0.1450381679389313, 'fraction_numerical': 0.022900763358778626, 'mean_word_length': 4.042307692307692, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 2, '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': '4498986', 'n_tokens_mistral': 541, 'n_tokens_neox': 537, 'n_words': 62}