WooCommerce Subscriptons function and class declaration stubs for static analysis.
MIT License
These stubs can help plugin and theme developers leverage IDE completion and static analysis tools like PHPStan.
Require this package as a development dependency with Composer.
composer require --dev mralaminahamed/mmerce-subscriptions-stubs
Alternatively you may download mmerce-subscriptions-stubs.php
directly.
Include stubs in PHPStan configuration file.
parameters:
bootstrapFiles:
- vendor/mralaminahamed/mmerce-subscriptions-stubs/mmerce-subscriptions-constants-stubs.php
- vendor/mralaminahamed/mmerce-subscriptions-stubs/mmerce-subscriptions-stubs.php