diff --git a/docs/contributing/adding_issues.md b/docs/contributing/adding_issues.md new file mode 100644 index 000000000..b609d8728 --- /dev/null +++ b/docs/contributing/adding_issues.md @@ -0,0 +1,62 @@ +# Adding a new issue type + +To add a new issue type there are a number of required steps, listed below. + +## Generating a new shortcode + +Run `bin/max_used_shortcode.php` and note the value it printed (`$max_shortcode`) + +## Create issue class + +Create a class in `Psalm\Issue` namespace like this: + +```php +