Skip to content

Add a matcher against a keyword list#178

Open
emmanuel-averty wants to merge 1 commit into
staabm:mainfrom
emmanuel-averty:feat/todo-keyword
Open

Add a matcher against a keyword list#178
emmanuel-averty wants to merge 1 commit into
staabm:mainfrom
emmanuel-averty:feat/todo-keyword

Conversation

@emmanuel-averty

Copy link
Copy Markdown

Fixes #87

This PR allows to define a keyword list in PHPStan parameters. If one of these keywords is met after todo, an error is raised.

i.e.

// todo asap : do not let this code in next commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Get an error for a TODO without an expiration constraint

1 participant