Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Dec 14, 2023
1 parent 6a3b283 commit dd73746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function doFoo() {

Every comment which matches the [supported pattern](https://github.com/staabm/phpstan-todo-by/blob/main/src/TodoByRule.php#L15) will be checked.

A todo comment can also contain just of a date without any text, like `// TODO 2023-12-14`.
A todo comment can also consist of just a date without any text, like `// TODO 2023-12-14`.
When a text is given after the date, this text will be picked up for the PHPStan error message.

The supported dateformat is `YYYY-MM-DD`. See [all supported examples](https://github.com/staabm/phpstan-todo-by/blob/main/tests/data/example.php) in the Testsuite.
Expand Down

0 comments on commit dd73746

Please sign in to comment.