Release notes
*Sourced from [rbdwllr/reallysimplejwt's releases](https://github.com/RobDWaller/ReallySimpleJWT/releases).*
> ## Expires In / Usable In
> This release makes two new endpoints available via the Parsed class, `getExpiresIn()` and `getUsableIn()`. They tell developers how long until their token expires and how long until it can be used, dependent on expiration and not before configuration.
>
> The release also makes the following changes and improvements:
>
> - Updates readme documentation, adds PSR-JWT integration info and drops support for version one.
> - Fixes unit tests based on PHPStan and PSR-12 feedback.
> - Updates CI pipeline, moves config from Travis to Composer, adds PHPCP and PHPLoc checks.
> - Updates PHPUnit config.
>
> This will be the last significant release before version three is released in 2020.
>
> ## README Syntax Fixes
> A number of fixes made to readme documentation where code examples had broken syntax.
>
> Also added more information on setup with Composer based on feedback from users.
Commits
- [`c5cc1a9`](https://github.com/RobDWaller/ReallySimpleJWT/commit/c5cc1a94a0d7e5175a2cf4c6a4bc9d7f2769a758) Added missing doc block return types for new exipiry and usable methods in Pa...
- [`157d59d`](https://github.com/RobDWaller/ReallySimpleJWT/commit/157d59de4fd799b876494b5242412b0d65569048) Amended readme documentation around framework integration, so working with PS...
- [`82481ab`](https://github.com/RobDWaller/ReallySimpleJWT/commit/82481ab61918e40a0e2d7f13e97413651b18a17c) Added new getExpiresIn and getUsableIn to readme documentation.
- [`45890db`](https://github.com/RobDWaller/ReallySimpleJWT/commit/45890db093503e3ae3eda0bb5a40dfdb6c95d793) Added php version support badge to Readme documentation.
- [`4aa08b7`](https://github.com/RobDWaller/ReallySimpleJWT/commit/4aa08b7ddbc5abf342c920492aad8feb4f46dded) Updated readme documentation to highlight the integration options available v...
- [`048adc2`](https://github.com/RobDWaller/ReallySimpleJWT/commit/048adc2493ea2cf4099e215eab6101dfaf31139c) Expected exception code error in BuildTest class.
- [`0ad8c6d`](https://github.com/RobDWaller/ReallySimpleJWT/commit/0ad8c6d01f33fe23c95b5d2584aec74767154728) Added tests to improve mutation score back up to 90%.
- [`18c71d2`](https://github.com/RobDWaller/ReallySimpleJWT/commit/18c71d25c822b658d7050b0945ff9edeba9b83bf) Updated and tidied up phpunit xml config.
- [`19626a9`](https://github.com/RobDWaller/ReallySimpleJWT/commit/19626a989c8b0d14c806c6a62fbe29359ae1c51a) Removed Time class and Test, conceptually the idea is overkill.
- [`096498d`](https://github.com/RobDWaller/ReallySimpleJWT/commit/096498d1b40a69078453188e4005404771ba6509) Created time helper to make it easier to write time based tests.
- Additional commits viewable in [compare view](https://github.com/RobDWaller/ReallySimpleJWT/compare/2.0.4...2.1.0)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps rbdwllr/reallysimplejwt from 2.0.4 to 2.1.0.
Release notes
*Sourced from [rbdwllr/reallysimplejwt's releases](https://github.com/RobDWaller/ReallySimpleJWT/releases).* > ## Expires In / Usable In > This release makes two new endpoints available via the Parsed class, `getExpiresIn()` and `getUsableIn()`. They tell developers how long until their token expires and how long until it can be used, dependent on expiration and not before configuration. > > The release also makes the following changes and improvements: > > - Updates readme documentation, adds PSR-JWT integration info and drops support for version one. > - Fixes unit tests based on PHPStan and PSR-12 feedback. > - Updates CI pipeline, moves config from Travis to Composer, adds PHPCP and PHPLoc checks. > - Updates PHPUnit config. > > This will be the last significant release before version three is released in 2020. > > ## README Syntax Fixes > A number of fixes made to readme documentation where code examples had broken syntax. > > Also added more information on setup with Composer based on feedback from users.Commits
- [`c5cc1a9`](https://github.com/RobDWaller/ReallySimpleJWT/commit/c5cc1a94a0d7e5175a2cf4c6a4bc9d7f2769a758) Added missing doc block return types for new exipiry and usable methods in Pa... - [`157d59d`](https://github.com/RobDWaller/ReallySimpleJWT/commit/157d59de4fd799b876494b5242412b0d65569048) Amended readme documentation around framework integration, so working with PS... - [`82481ab`](https://github.com/RobDWaller/ReallySimpleJWT/commit/82481ab61918e40a0e2d7f13e97413651b18a17c) Added new getExpiresIn and getUsableIn to readme documentation. - [`45890db`](https://github.com/RobDWaller/ReallySimpleJWT/commit/45890db093503e3ae3eda0bb5a40dfdb6c95d793) Added php version support badge to Readme documentation. - [`4aa08b7`](https://github.com/RobDWaller/ReallySimpleJWT/commit/4aa08b7ddbc5abf342c920492aad8feb4f46dded) Updated readme documentation to highlight the integration options available v... - [`048adc2`](https://github.com/RobDWaller/ReallySimpleJWT/commit/048adc2493ea2cf4099e215eab6101dfaf31139c) Expected exception code error in BuildTest class. - [`0ad8c6d`](https://github.com/RobDWaller/ReallySimpleJWT/commit/0ad8c6d01f33fe23c95b5d2584aec74767154728) Added tests to improve mutation score back up to 90%. - [`18c71d2`](https://github.com/RobDWaller/ReallySimpleJWT/commit/18c71d25c822b658d7050b0945ff9edeba9b83bf) Updated and tidied up phpunit xml config. - [`19626a9`](https://github.com/RobDWaller/ReallySimpleJWT/commit/19626a989c8b0d14c806c6a62fbe29359ae1c51a) Removed Time class and Test, conceptually the idea is overkill. - [`096498d`](https://github.com/RobDWaller/ReallySimpleJWT/commit/096498d1b40a69078453188e4005404771ba6509) Created time helper to make it easier to write time based tests. - Additional commits viewable in [compare view](https://github.com/RobDWaller/ReallySimpleJWT/compare/2.0.4...2.1.0)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.