diff --git a/.codeclimate.sh b/.codeclimate.sh deleted file mode 100755 index 47d1c2e..0000000 --- a/.codeclimate.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env sh - -php vendor/bin/test-reporter --stdout > codeclimate.json -curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v0.1.1)' https://codeclimate.com/test_reports diff --git a/.codeclimate.yml b/.codeclimate.yml deleted file mode 100644 index 4e52508..0000000 --- a/.codeclimate.yml +++ /dev/null @@ -1,22 +0,0 @@ -engines: - phpcodesniffer: - enabled: true - config: - file_extensions: "php" - phpmd: - enabled: true - config: - file_extensions: "php" - standard: "PSR1,Squiz" - checks: - Controversial/CamelCaseMethodName: - enabled: false - Controversial/CamelCaseParameterName: - enabled: false - Controversial/CamelCaseVariableName: - enabled: false - Controversial/CamelCasePropertyName: - enabled: false -ratings: - paths: - - "SourceQuery/**.php" diff --git a/.travis.yml b/.travis.yml index cb1823d..f3090d8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ sudo: false language: php php: - - 7.2 + - 7.3 notifications: email: false @@ -11,4 +11,4 @@ install: script: - ./vendor/bin/phpunit --configuration Tests/phpunit.xml after_script: - - ./.codeclimate.sh + - travis_retry ./vendor/bin/php-coveralls diff --git a/README.md b/README.md index c5cee49..11f8d2f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # PHP Source Query [![Build Status](https://img.shields.io/travis/com/xPaw/PHP-Source-Query.svg)](https://travis-ci.com/xPaw/PHP-Source-Query) -[![Test Coverage](https://api.codeclimate.com/v1/badges/24858a13b82113ad3092/test_coverage)](https://codeclimate.com/github/xPaw/PHP-Source-Query/test_coverage) +[![Test Coverage](https://img.shields.io/coveralls/github/xPaw/PHP-Source-Query/master.svg)](https://coveralls.io/github/xPaw/PHP-Source-Query) [![Packagist Downloads](https://img.shields.io/packagist/dt/xpaw/php-source-query-class.svg)](https://packagist.org/packages/xpaw/php-source-query-class) [![Packagist Version](https://img.shields.io/packagist/v/xpaw/php-source-query-class.svg)](https://packagist.org/packages/xpaw/php-source-query-class) diff --git a/composer.json b/composer.json index 17f80fe..d742f0c 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ "require-dev": { "phpunit/phpunit": "^6.0", - "codeclimate/php-test-reporter": "dev-master" + "php-coveralls/php-coveralls": "^2.1" }, "autoload": {