Skip to content

Commit 3dc81e0

Browse files
committed
Add coding standards checks
1 parent 46aafd1 commit 3dc81e0

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ install:
55
- composer install
66
- bash tests/install-tests.sh wordpress_test root '' 127.0.0.1 latest
77
script:
8+
- vendor/bin/phpcs --standard=vendor/humanmade/coding-standards .
89
- phpunit

composer.json

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
{
2-
"name": "wp-api/oauth2",
3-
"description": "OAuth 2 Server for WordPress",
4-
"type": "wordpress-plugin",
5-
"license": "GPL2+",
6-
"authors": [
7-
{
8-
"name": "WP-API Team",
9-
"homepage": "http://wp-api.org/"
10-
}
11-
]
2+
"name": "wp-api/oauth2",
3+
"description": "OAuth 2 Server for WordPress",
4+
"type": "wordpress-plugin",
5+
"license": "GPL2+",
6+
"authors": [
7+
{
8+
"name": "WP-API Team",
9+
"homepage": "http://wp-api.org/"
10+
}
11+
],
12+
"require-dev": {
13+
"humanmade/coding-standards": "dev-master"
14+
}
1215
}

0 commit comments

Comments
 (0)