PHPackages                             staabm/phpstan-todo-by - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. staabm/phpstan-todo-by

ActivePhpstan-extension[Testing &amp; Quality](/categories/testing)

staabm/phpstan-todo-by
======================

0.3.3(5mo ago)1991.8M—3.1%7[10 issues](https://github.com/staabm/phpstan-todo-by/issues)[5 PRs](https://github.com/staabm/phpstan-todo-by/pulls)20MITPHPPHP ^7.4 || ^8.0CI passing

Since Dec 14Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/staabm/phpstan-todo-by)[ Packagist](https://packagist.org/packages/staabm/phpstan-todo-by)[ GitHub Sponsors](https://github.com/staabm)[ RSS](/packages/staabm-phpstan-todo-by/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (42)Used By (20)

phpstan-todo-by: comments with expiration
=========================================

[](#phpstan-todo-by-comments-with-expiration)

PHPStan extension to check for `TODO/FIXME/XXX` comments with expiration. Inspired by [parker-codes/todo-by](https://github.com/parker-codes/todo_by).

Examples
--------

[](#examples)

The main idea is, that comments within the source code will be turned into PHPStan errors when a condition is satisfied, e.g. a date reached, a version met, a issue tracker ticket is closed.

```
