[buddypress-trac] [BuddyPress Trac] #9199: Stub declarations for BuddyPress core functions, classes and interfaces
buddypress-trac
noreply at wordpress.org
Mon Jun 24 01:39:24 UTC 2024
#9199: Stub declarations for BuddyPress core functions, classes and interfaces
------------------------------+-------------------------
Reporter: espellcaste | Owner: espellcaste
Type: task | Status: assigned
Priority: normal | Milestone: Up Next
Component: Build/Test Tools | Version:
Severity: normal | Keywords: needs-patch
------------------------------+-------------------------
A while ago I tried to setup BuddyPress with PHPStan in the
[https://wordpress.org/plugins/wp-graphql-buddypress/ WPGraphQL BuddyPress
plugin] and realized there was no stub for BuddyPress.
A git repo was created last year, https://github.com/buddypress
/buddypress-stubs, to hold those stubs. But I learned afterwards that
BuddyPress' functions and classes have a lot of incorrect information. So
it felt not ideal to create stubs of incomplete and/or incorrect data.
As part of BuddyPress 14 (see #9164 and #7228), I've started to fix those
issues but it will take a while until we have everything finished.
This ticket was created as a reminder, and for visiblity. The task of
creating the stubs is pretty straightforward, so currently the only
impediment is the soudness of the data (the correctness of the signatures
of functions, classes, and interfaces).
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9199>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list