stancer/php-stubs-woo-subscriptions

Woo Subscriptions function and class declaration stubs for static analysis.

Maintainers

Package info

gitlab.com/wearestancer/library/php-stubs-woo-subscriptions

Issues

pkg:composer/stancer/php-stubs-woo-subscriptions

Statistics

Installs: 1 035

Dependents: 1

Suggesters: 0

Stars: 0

v6.0.0 2024-03-26 18:04 UTC

This package is auto-updated.

Last update: 2026-02-26 21:28:13 UTC


README

This package provides stub declarations for the Woo Subscriptions plugin functions, classes and interfaces. These stubs can help plugin and theme developers leverage IDE completion and static analysis tools like PHPStan.

The stubs are generated directly from the source using php-stubs/generator.

Installation

Require this package as a development dependency with Composer.

composer require --dev stancer/php-stubs-woo-subscriptions

Usage in PHPStan

Include stubs in PHPStan configuration file.

parameters:
  scanFiles:
    - vendor/stancer/php-stubs-woo-subscriptions/stubs.php