Skip to content

polylang/polylang-phpstan

Repository files navigation

Polylang PHPStan

This package provides a PHPStan extension for Polylang and Polylang Pro. It's should be used in combination with Polylang Stubs.

Requirements

  • PHP >=7.1

Installation

Require this package as a development dependency with Composer.

composer require --dev wpsyntex/polylang-phpstan
composer require --dev wpsyntex/polylang-stubs

Configuration

Include the extension and stubs in the PHPStan configuration file.

includes:
  - vendor/wpsyntex/polylang-phpstan/extension.neon
parameters:
  bootstrapFiles:
    - vendor/wpsyntex/polylang-stubs/polylang-stubs.php

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages