language: php

php:
  - 7.1

before_script:
  - composer update

script:
  - ./vendor/bin/phpunit --disallow-test-output --report-useless-tests --coverage-clover ./clover.xml
  - if php -i |grep -qE xdebug; then ./vendor/bin/infection --min-msi=100 --min-covered-msi=100 --threads=4; fi

after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover ./clover.xml

language: php

php:
  - 7.1

before_script:
  - composer update

script:
  - ./vendor/bin/phpunit --disallow-test-output --coverage-clover ./clover.xml
  - if php -i |grep -qE xdebug; then ./vendor/bin/infection --min-msi=100 --min-covered-msi=100 --threads=4; fi

after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover ./clover.xml

Remove report useless tests option
Remove report useless tests option

This is now default behaviour, and the flag has been removed
