Skip to content

Commit

Permalink
Merge pull request #3 from apility/feature/enforce-code-style
Browse files Browse the repository at this point in the history
Enforce code style
  • Loading branch information
thomas-alrek authored Mar 27, 2019
2 parents 84455a0 + e0b17d1 commit 5cab64a
Show file tree
Hide file tree
Showing 14 changed files with 438 additions and 46 deletions.
9 changes: 8 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,16 @@
"guzzlehttp/guzzle": "^6.3"
},
"require-dev": {
"phpunit/phpunit": "^6.5"
"phpunit/phpunit": "^6.5",
"squizlabs/php_codesniffer": "^3.4",
"brainmaestro/composer-git-hooks": "^2.6"
},
"scripts": {
"test": "vendor/bin/phpunit --bootstrap vendor/autoload.php tests"
},
"extra": {
"hooks": {
"pre-commit": ["vendor/bin/phpcbf --standard=ruleset.xml --encoding=utf-8 -n src/"]
}
}
}
Loading

0 comments on commit 5cab64a

Please sign in to comment.