lighthouseuk/buddyboss-theme-stubs

BuddyBoss Theme stubs for static analysis.

v2.7.70.1 2025-04-03 09:56 UTC

This package is auto-updated.

Last update: 2025-04-03 09:58:32 UTC


README

This package provides stub declarations for BuddyBoss Theme.

To keep the stubs file size down it excludes some admin code.

Based on the work done in php-stubs/acf-pro-stubs.

Installation

Require this package as a development dependency with Composer.

composer require --dev lighthouseuk/buddyboss-theme-stubs

Usage in PHPStan

parameters:
	stubFiles:
		- vendor/lighthouseuk/buddyboss-theme-stubs/buddyboss-theme-stubs.php

Use scanFiles instead of stubFiles if BuddyBoss Theme is not vendored with your project.