Added woodpecker config
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Chris 2023-04-21 01:46:52 +02:00
parent b0566e3148
commit 369514589f
3 changed files with 12 additions and 0 deletions

7
.woodpecker.yml Normal file
View File

@ -0,0 +1,7 @@
pipeline:
phpunit:
image: walkero/phpunit-alpine:php8.1-phpunit9
commands:
- composer install
- vendor/bin/phpunit --testdox --no-progress
- vendor/bin/phpstan --no-progress

View File

@ -1,5 +1,9 @@
# SimpleJWT ChangeLog # SimpleJWT ChangeLog
## 0.2.1
- Mostly code cleanup
## 0.2.0 ## 0.2.0
- Class- and filenames have had their case changed (`Jwt`→`JWT`) - Class- and filenames have had their case changed (`Jwt`→`JWT`)

View File

@ -140,6 +140,7 @@ class JWTToken
* *
* @param string|int|\DateTime $expiry * @param string|int|\DateTime $expiry
* @return void * @return void
* @throws \InvalidArgumentException if the argument can not be interpreted
*/ */
public function setExpiry($expiry) public function setExpiry($expiry)
{ {