[wp-trac] [WordPress Trac] #58092: WpOrg\Requests missing use statement for Stringable
WordPress Trac
noreply at wordpress.org
Thu Apr 6 09:22:41 UTC 2023
#58092: WpOrg\Requests missing use statement for Stringable
--------------------------------+----------------------
Reporter: kkmuffme | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: External Libraries | Version: 6.2
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------------+----------------------
Changes (by jrf):
* status: reopened => closed
* resolution: => invalid
Comment:
Replying to [comment:5 kkmuffme]:
> Just checked the upstream and you are correct - it's correct there.
>
> However in WP 6.2 the FQCN is missing.
>
> Look at Session.php, in github you have `@param string|\Stringable|null
$url` but in WP 6.2 (downloaded zip from WP) it is `@param
string|Stringable|null $url`
> Is this because WP 6.2 does not have the latest version of this lib or
is this a bug in the WP build process?
> @jrf
Docs and tests are continuously under improvement in Requests. This may
have been changed between the `2.0.5` release which was included in WP 6.2
and now.
The `develop` branch for Requests is currently for the `2.1.0` release.
The Request team did a `2.0.6` release earlier this week, which has
already been included in WP `trunk`, see Trac #58079.
For patch releases like that, select backports are done, but only for the
most significant changes within the limits of what is allowed to be
included in a patch release.
The official documentation for Requests is here:
https://requests.ryanmccue.info/
As long as WP upgrades regularly when there are new releases - which is
currently (finally) being done again -, these doc changes will
automatically trickle into WP at some point.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58092#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list