Skip to content

Commit

Permalink
Merge pull request #8 from adobe/cfsmith_sdk_redux
Browse files Browse the repository at this point in the history
Added phpcs ruleset repo; fixed linting issues
  • Loading branch information
chfabbro authored Jul 17, 2019
2 parents de7bd83 + 4f83df7 commit 6cbb012
Show file tree
Hide file tree
Showing 8 changed files with 138 additions and 357 deletions.
239 changes: 0 additions & 239 deletions .buildpath

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
*~
*#
TAGS
libphp-edit-prod.sh
.phpunit.result.cache
11 changes: 10 additions & 1 deletion composer.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,18 @@
"name": "astock/stock-api-libphp",
"description": "Adobe Stock API library",
"license": "Apache-2.0",
"repositories": [
{
"type": "vcs",
"url": "./libs/phpcs-psr2-stock"
}
],
"require": {
"php": "~7.1",
"guzzlehttp/guzzle": "~6.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "~2.8",
"astock/phpcs-psr2-stock": "~1.4",
"phpunit/phpunit": "~6.0",
"mockery/mockery": "^0.9.9"
Expand All @@ -26,8 +33,10 @@
},
"scripts": {
"check": [
"@test"
"@test",
"@lint"
],
"lint": "vendor/bin/phpcs --standard='vendor/astock/phpcs-psr2-stock/PSR2Stock' src test",
"test": "vendor/bin/phpunit",
"test-coverage": "vendor/bin/phpunit --coverage-html data/clover"
}
Expand Down
Loading

0 comments on commit 6cbb012

Please sign in to comment.