lighthouseuk / buddyboss-theme-stubs
BuddyBoss Theme stubs for static analysis.
v2.7.70.1
2025-04-03 09:56 UTC
Requires
Requires (Dev)
- php: ~7.4 || ^8.0
- php-stubs/generator: ^0.8
- phpdocumentor/reflection-docblock: ^5.4.1
- phpstan/phpstan: ^2
Suggests
- szepeviktor/phpstan-wordpress: WordPress extensions for PHPStan
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.