wpsyntex/polylang-stubs 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

wpsyntex/polylang-stubs

最新稳定版本:3.7.3

Composer 安装命令:

composer require wpsyntex/polylang-stubs

包简介

Polylang and Polylang Pro function and class declaration stubs for static analysis.

README 文档

README

This package provides stub declarations for Polylang and Polylang Pro. 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/polylang-stubs

Usage in PHPStan

Include the stubs in the PHPStan configuration file.

parameters:
  bootstrapFiles:
    - vendor/wpsyntex/polylang-stubs/polylang-stubs.php

It's also recommended to use the Polylang PHPStan extension wpsyntex/polylang-phpstan

统计信息

  • 总下载量: 144.18k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 1
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2020-12-28