Go to file
Bruce Weirdan 4fe3c88aca
Tweak dead code detection on TestCase descendants
- Don't report TestCase descendants as unused
- Don't report test methods as unused
- Don't report providers referenced by test methods as unused

Refs psalm/phpunit-psalm-plugin#13

/cc @SignpostMarv
2019-02-20 13:19:11 +02:00
Exception Implemented provider type checks 2019-02-19 22:58:56 +02:00
hooks Tweak dead code detection on TestCase descendants 2019-02-20 13:19:11 +02:00
stubs Limit expectException()'s argument to throwables 2019-02-14 13:12:40 +02:00
tests Tweak dead code detection on TestCase descendants 2019-02-20 13:19:11 +02:00
.gitignore Add starter files for PHPUnit Plugin 2018-11-14 00:36:33 -05:00
.travis.yml before making change re: void is a reserved word, set package to be tested in the same environments as psalm in case anything else crops up 2019-02-13 20:54:38 +00:00
codeception.yml Added test infrastructure 2019-02-09 09:20:40 +02:00
composer.json Bump psalm version due to missing functionality 2019-02-20 00:03:06 +02:00
phpcs.xml.dist Add new files/folders to phpcs check 2019-02-20 00:09:27 +02:00
Plugin.php Suppress missing constructor for TestCase descendants 2019-02-17 08:28:22 +02:00
psalm.xml.dist Ignore support files in Psalm 2019-02-09 09:32:17 +02:00
README.md Add a short readme 2018-11-28 00:35:52 -05:00

phpunit-psalm-plugin

A PHPUnit plugin for Psalm (requires Psalm v3).

Installation:

composer require --dev psalm/plugin-phpunit
vendor/bin/psalm-plugin enable psalm/plugin-phpunit