mirror of
https://github.com/xPaw/PHP-Source-Query.git
synced 2026-07-14 07:54:49 +02:00
Compare commits
3 Commits
d36c10a326
...
84a18a4190
| Author | SHA1 | Date | |
|---|---|---|---|
| 84a18a4190 | |||
| d801629834 | |||
| 724f047a4a |
@@ -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
|
|
||||||
@@ -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
@@ -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,7 +1,7 @@
|
|||||||
# PHP Source Query
|
# PHP Source Query
|
||||||
|
|
||||||
[](https://travis-ci.com/xPaw/PHP-Source-Query)
|
[](https://travis-ci.com/xPaw/PHP-Source-Query)
|
||||||
[](https://codeclimate.com/github/xPaw/PHP-Source-Query/test_coverage)
|
[](https://coveralls.io/github/xPaw/PHP-Source-Query)
|
||||||
[](https://packagist.org/packages/xpaw/php-source-query-class)
|
[](https://packagist.org/packages/xpaw/php-source-query-class)
|
||||||
[](https://packagist.org/packages/xpaw/php-source-query-class)
|
[](https://packagist.org/packages/xpaw/php-source-query-class)
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -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":
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user