sebkay/wp-unit-test-stubs

This package is abandoned and no longer maintained. No replacement package was suggested.

1.0.0 2021-06-23 14:31 UTC

This package is auto-updated.

Last update: 2022-08-08 13:24:24 UTC


README

Please use php-stubs/wordpress-tests-stubs instead.

WP Unit Test Stubs

A simple package used to help your IDE (Visual Studio Code, Sublime etc...) find class definitions for WordPress unit test classes.

Usage

Install the package via Composer:

composer require sebkay/wp-unit-test-stubs --dev

Once your IDE has re-indexed your Composer dependencies you should be able to see class definitions for things like WP_UnitTestCase.

Credit

These stubs were generated using phpstubs/generator and inspired from the phpstubs/wordpress-stubs package.