There are two checks run on pull requests:
- PHPCS
- PHPStan
PHPCS and PHPStan are managed via Composer.
To setup the checks locally, run the install command with the root of the WordPress install (directory with composer.json
):
composer install
vendor/bin/phpcs
vendor/bin/phpstan --memory-limit=-1