Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 719 Bytes

contributing.md

File metadata and controls

35 lines (22 loc) · 719 Bytes

Contributing

PHPCS PHPStan

Checks

There are two checks run on pull requests:

  1. PHPCS
  2. PHPStan

PHPCS and PHPStan are managed via Composer.

Setup

To setup the checks locally, run the install command with the root of the WordPress install (directory with composer.json):

composer install

Run

PHPCS

vendor/bin/phpcs

PHPStan

vendor/bin/phpstan --memory-limit=-1