wpsyntex/wp-all-import-pro-stubs

WP All Import Pro function and class declaration stubs for static analysis.

4.6.7 2021-07-05 13:10 UTC

This package is auto-updated.

Last update: 2024-12-05 20:55:00 UTC


README

This package provides stub declarations for WP All Import Pro. These stubs can help plugin and theme developers leverage static analysis tools like PHPStan.

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

Requirements

  • PHP >=7.1

Installation

Require this package as a development dependency with Composer.

composer require --dev wpsyntex/wp-all-import-pro-stubs

Usage in PHPStan

Include the stubs in the PHPStan configuration file.

parameters:
  bootstrapFiles:
    - vendor/wpsyntex/wp-all-import-pro-stubs/wp-all-import-pro-stubs.php