Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Diagnose command: Add GitHub OAuth token expiration date information (#…
…11688) GitHub's new fine-grained tokens have a cumpulsory expiration date, and their classic tokens also support an expiration date. https://github.blog/changelog/2021-07-26-expiration-options-for-personal-access-tokens/ This improves the `composer diagnose` command to display the expiration date and time if it is provided by the response headers (via `GitHub-Authentication-Token-Expiration`).
- Loading branch information