polylang / the-events-calendar-stubs

The Events Calendar Stubs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Events Calendar Stubs

This package provides stub declarations for The Events Calendar. 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/the-events-calendar-stubs

Usage in PHPStan

Include the stubs in the PHPStan configuration file.

parameters:
  bootstrapFiles:
    - vendor/wpsyntex/the-events-calendar-stubs/the-events-calendar-stubs.php

About

The Events Calendar Stubs

License:GNU General Public License v3.0


Languages

Language:PHP 100.0%Language:Shell 0.0%