Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.1 | Composer: update OAuth2-Client + underlying dependencies #17891

Merged
merged 3 commits into from
Dec 28, 2021

Commits on Dec 23, 2021

  1. Composer: update OAuth2-Client

    The `league/oauth2-client` package has released a new version, which includes a PHP 8.1 fix we need.
    
    This commit just updates that package, without updating the underlying dependencies.
    
    Based on the changelog, this should be a safe update.
    
    Ref: https://github.com/thephpleague/oauth2-client/releases
    jrfnl committed Dec 23, 2021
    Configuration menu
    Copy the full SHA
    3b59b1a View commit details
    Browse the repository at this point in the history
  2. PHP 8.0/8.1 | Update OAuth PHP Scoper config

    PHP Scoper is prefixing the attribute use statement that will need to be pulled into the TheLeague OAuth Client implementation of the `JSONSerializable` interface.
    See thephpleague/oauth2-client#919
    
    This change removes the prefix from the use statement.
    
    PHP Scoper was updated to 0.15.0 during investigation of this issue and it still does not work as desired on the newer version. Bumping the version in this commit seemed out of scope.
    
    PHP 8.1 compatibility for PHP Scoper is being tracked in the following ticket: humbug/php-scoper#539
    moorscode authored and jrfnl committed Dec 23, 2021
    Configuration menu
    Copy the full SHA
    61f6edb View commit details
    Browse the repository at this point in the history
  3. Composer: controlled update of underlying dependencies

    This updates the underlying dependencies of the `league/oauth2-client` package to more recent versions which still support PHP 5.6.
    
    This has been done as a controlled update, locking at specific versions.
    
    Refs:
    * https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md
    * https://github.com/guzzle/promises/blob/master/CHANGELOG.md
    * https://github.com/guzzle/psr7/blob/2.1.0/CHANGELOG.md
    * No changelog available for getallheaders, but not concerned about it as that package does not get prefixed anyway.
    jrfnl committed Dec 23, 2021
    Configuration menu
    Copy the full SHA
    1cb2ae2 View commit details
    Browse the repository at this point in the history