Skip to:
Content

BuddyPress.org

Opened 9 months ago

Last modified 4 months 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: Up Next 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 (5)

#1 @espellcaste
9 months ago

  • Description modified (diff)

#2 @espellcaste
9 months ago

  • Description modified (diff)

#3 @imath
9 months ago

  • Milestone changed from Up Next to 15.0.0

#4 @espellcaste
8 months ago

  • Milestone changed from 15.0.0 to Up Next

Bumping this since it is blocked untill all WPCS and Docblock issues are resolved.

This ticket was mentioned in Slack in #buddypress by espellcaste. View the logs.


4 months ago

Note: See TracTickets for help on using tickets.