youthweb / php-youthweb-api

🔌 PHP Youthweb API is an object-oriented wrapper for PHP of the Youthweb API.
GNU General Public License v3.0
3 stars 1 forks source link

Allow using PSR-18 Client and PSR-17 RequestFactory in OAuth2 client #29

Closed Art4 closed 1 year ago

Art4 commented 1 year ago

As long as league/oauth2-client does not support PSR-18 client and PSR-17 request factory, we need an adapter.

See https://github.com/thephpleague/oauth2-client/issues/685.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (9f391fd) 100.00% compared to head (8e572ba) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## v0.x #29 +/- ## =========================================== Coverage 100.00% 100.00% - Complexity 115 129 +14 =========================================== Files 12 14 +2 Lines 323 371 +48 =========================================== + Hits 323 371 +48 ``` | [Impacted Files](https://codecov.io/gh/youthweb/php-youthweb-api/pull/29?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=youthweb) | Coverage Δ | | |---|---|---| | [src/Client.php](https://codecov.io/gh/youthweb/php-youthweb-api/pull/29?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=youthweb#diff-c3JjL0NsaWVudC5waHA=) | `100.00% <ø> (ø)` | | | [src/Authentication/Psr17RequestFactoryAdapter.php](https://codecov.io/gh/youthweb/php-youthweb-api/pull/29?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=youthweb#diff-c3JjL0F1dGhlbnRpY2F0aW9uL1BzcjE3UmVxdWVzdEZhY3RvcnlBZGFwdGVyLnBocA==) | `100.00% <100.00%> (ø)` | | | [src/Authentication/Psr18GuzzleAdapter.php](https://codecov.io/gh/youthweb/php-youthweb-api/pull/29?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=youthweb#diff-c3JjL0F1dGhlbnRpY2F0aW9uL1BzcjE4R3V6emxlQWRhcHRlci5waHA=) | `100.00% <100.00%> (ø)` | | | [src/Configuration.php](https://codecov.io/gh/youthweb/php-youthweb-api/pull/29?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=youthweb#diff-c3JjL0NvbmZpZ3VyYXRpb24ucGhw) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=youthweb). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=youthweb)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.