Skip to content

Commit

Permalink
Add code sniffer check to travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
frankverhoeven committed Dec 7, 2018
1 parent dc40e13 commit 2038fea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,9 @@ before_script:
- composer install --prefer-source
- vendor/bin/phpunit --colors=always --coverage-clover clover.xml

script:
- vendor/bin/phpunit
- vendor/bin/phpcs

after_script:
- vendor/bin/php-coveralls -v
2 changes: 2 additions & 0 deletions src/TokenManager/Jwt.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ public function __construct(
}

/**
* @return Token
*
* @throws \InvalidArgumentException If the token is not a valid JWT
* @throws \OutOfBoundsException If the token does not have an exp claim
*/
Expand Down

0 comments on commit 2038fea

Please sign in to comment.