1
0
mirror of https://github.com/xPaw/PHP-Source-Query.git synced 2026-07-14 10:04:49 +02:00

3 Commits

Author SHA1 Message Date
Pavel Djundik 84a18a4190 Verbose php-coveralls 2019-04-24 10:47:17 +03:00
Pavel Djundik d801629834 Specify php runtime 2019-04-24 10:44:21 +03:00
Pavel Djundik 724f047a4a Use coveralls for test coverage 2019-04-24 10:41:33 +03:00
5 changed files with 5 additions and 31 deletions
-4
View File
@@ -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
-22
View File
@@ -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"
+3 -3
View File
@@ -7,8 +7,8 @@ notifications:
email: false email: false
install: install:
- composer install --dev --no-interaction - composer install --no-interaction
script: script:
- ./vendor/bin/phpunit --configuration Tests/phpunit.xml - php ./vendor/bin/phpunit --configuration Tests/phpunit.xml
after_script: after_script:
- ./.codeclimate.sh - php ./vendor/bin/php-coveralls -v
+1 -1
View File
@@ -1,7 +1,7 @@
# PHP Source Query # PHP Source Query
[![Build Status](https://img.shields.io/travis/com/xPaw/PHP-Source-Query.svg)](https://travis-ci.com/xPaw/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 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) [![Packagist Version](https://img.shields.io/packagist/v/xpaw/php-source-query-class.svg)](https://packagist.org/packages/xpaw/php-source-query-class)
+1 -1
View File
@@ -30,7 +30,7 @@
"require-dev": "require-dev":
{ {
"phpunit/phpunit": "^6.0", "phpunit/phpunit": "^6.0",
"codeclimate/php-test-reporter": "dev-master" "php-coveralls/php-coveralls": "^2.1"
}, },
"autoload": "autoload":
{ {