Skip to content

Commit 717b7e3

Browse files
committed
Project setup
1 parent 2dee2bc commit 717b7e3

File tree

6 files changed

+491
-0
lines changed

6 files changed

+491
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
vendor
2+

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
language: php
2+
3+
php:
4+
- 7
5+
6+
before_script:
7+
- composer install --prefer-dist --dev
8+
9+
script:
10+
- vendor/bin/peridot
11+
- vendor/bin/phpcs --standard=PSR2 src
12+

composer.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "vnn/wordpress-rest-api-client",
3+
"autoload": {
4+
"psr-4": {
5+
"Vnn\\WpApiClient\\": "src/"
6+
}
7+
},
8+
"require-dev": {
9+
"peridot-php/peridot": "^1.18",
10+
"peridot-php/leo": "^1.5",
11+
"squizlabs/php_codesniffer": "^2.7"
12+
}
13+
}

0 commit comments

Comments
 (0)