wpsyntex/wc-mix-and-match-products-stubs

WooCommerce Mix and Match Products function and class declaration stubs for static analysis.

2.5 2023-11-16 11:11 UTC

This package is auto-updated.

Last update: 2024-03-16 11:56:48 UTC


README

This package provides stub declarations for WooCommerce Mix and Match Products. These stubs can help plugin and theme developers leverage static analysis tools like PHPStan.

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

Requirements

  • PHP >=7.3

Installation

Require this package as a development dependency with Composer.

composer require --dev wpsyntex/wc-mix-and-match-products-stubs

Usage in PHPStan

Include the stubs in the PHPStan configuration file.

parameters:
  bootstrapFiles:
    - vendor/wpsyntex/wc-mix-and-match-products-stubs/wc-mix-and-match-products-stubs.php