Skip to content

Commit ed6a63d

Browse files
committed
Replaces StyleCI integration with code sniffer PSR2 standard.
1 parent 51150bd commit ed6a63d

File tree

5 files changed

+152
-123
lines changed

5 files changed

+152
-123
lines changed

.styleci.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ before_script:
1515

1616
# Run tests and generate test coverage report.
1717
script:
18+
- vendor/bin/phpcs ./src ./tests --extensions=php --standard=PSR2
1819
- phpunit -d api_key=$API_KEY --coverage-clover build/logs/clover.xml
1920

2021
# Submit test coverage report to Coveralls.

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Smmry PHP SDK
22
[![Build Status](https://travis-ci.org/dayrev/smmry-sdk-php.svg?branch=master)](https://travis-ci.org/dayrev/smmry-sdk-php)
3-
[![StyleCI](https://styleci.io/repos/80203543/shield?branch=master)](https://styleci.io/repos/80203543)
43
[![Coverage Status](https://coveralls.io/repos/github/dayrev/smmry-sdk-php/badge.svg)](https://coveralls.io/github/dayrev/smmry-sdk-php)
54
[![Latest Stable Version](https://poser.pugx.org/dayrev/smmry-sdk-php/v/stable.png)](https://packagist.org/packages/dayrev/smmry-sdk-php)
65
[![Dependency Status](https://www.versioneye.com/user/projects/589d94156a7781003b243071/badge.svg?style=flat)](https://www.versioneye.com/user/projects/589d94156a7781003b243071)

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"php-curl-class/php-curl-class": "^7.1"
1717
},
1818
"require-dev": {
19-
"phpunit/phpunit": "^5.7"
19+
"phpunit/phpunit": "^5.7",
20+
"squizlabs/php_codesniffer": "^2.8"
2021
},
2122
"autoload": {
2223
"psr-4": {"DayRev\\Smmry\\": "src/"}

0 commit comments

Comments
 (0)