Repository navigation
Expiry Claim Date Time Number Fix
This release fixes #13.
It raised the issue that the expiry claim did not comply with the JWT RFC. The library has been updated so it now outputs the expiry claim as a date time number rather than a date time string. You can still generate tokens based on a date time string and it will still validate tokens that use a date time string for the expiry claim.
Other additions include:
- Added Mockery for enhanced testing.
- Changed
assertEquals()toassertSame()so unit tests are more robust. - Added phpstan.neon to ignore Mockery errors introduced.
- Amended TravisCI pipeline to make use phpstan.neon config when running phpstan.