xunitpatterns/xunitpatterns-stan

PHPStan linting for PHPUnit based on the smells in the XUnit Patterns book by Gerard Meszaros

dev-master 2022-06-12 18:53 UTC

This package is auto-updated.

Last update: 2024-04-12 23:09:12 UTC


README

This is an extension for PHPStan that adds some rules based on the smells in the XUnit Patterns book by Gerard Meszaros.

Installation

To use this extension, require it in Composer:

composer require --dev xunitpatterns/xunitpatterns-stan

That is all you need to do if you have phpstan/extension-installer then that's all you need to do.

Otherwise, you will need to include the rules manually in your phpstan.neon file.