<commit_before>language: php
php:
  - "5.5"
  - "5.4"
  - "5.3"
  
before_script:
  - pyrus install pear/PHP_CodeSniffer
  - phpenv rehash

script: 
  - phpcs --standard=PHPCS --extensions=php --ignore=vendor
  - phpunit --configuration tests/phpunit.xml
  
matrix:
  allow_failures:
    - php: hhvm
  fast_finish: true<commit_msg>fixes<commit_after>language: php
php:
  - "5.5"
  - "5.4"
  - "5.3"
  
before_script:
  - pyrus install pear/PHP_CodeSniffer
  ## PHP Copy/Paste Detector
  - curl -o phpcpd.phar https://phar.phpunit.de/phpcpd.phar
  ## PHP Mess Detector
  - pear config-set preferred_state beta
  - pear channel-discover pear.phpmd.org
  - pear channel-discover pear.pdepend.org
  - pear install --alldeps phpmd/PHP_PMD
  - phpenv rehash

script: 
  - phpcs --standard=PHPCS --extensions=php --ignore=vendor ./
  - phpunit --configuration tests/phpunit.xml
  ## PHP Copy/Paste Detector
  - php phpcpd.phar ./ --verbose
  ## PHP Mess Detector
  - phpmd ./
  
matrix:
  allow_failures:
    - php: hhvm
  fast_finish: true
{'fraction_non_alphanumeric': 0.12487899322362052, 'fraction_numerical': 0.011616650532429816, 'mean_word_length': 2.732851985559567, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '3158094', 'n_tokens_mistral': 412, 'n_tokens_neox': 401, 'n_words': 85}