Skip to:
Content

BuddyPress.org

Opened 3 weeks ago

Last modified 8 days ago

#9199 assigned task

Stub declarations for BuddyPress core functions, classes and interfaces

Reported by: espellcaste's profile espellcaste Owned by: espellcaste's profile espellcaste
Milestone: 15.0.0 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: needs-patch
Cc:

Description (last modified by espellcaste)

A while ago I tried to setup BuddyPress with PHPStan in the 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 all issues resolved.

This ticket was created as a reminder, and for visibility. The task of creating the stubs is pretty straightforward, so currently the only impediment is the correctness of the signatures of functions, classes, and interfaces.

Change History (3)

#1 @espellcaste
3 weeks ago

  • Description modified (diff)

#2 @espellcaste
3 weeks ago

  • Description modified (diff)

#3 @imath
8 days ago

  • Milestone changed from Up Next to 15.0.0
Note: See TracTickets for help on using tickets.