staabm/phpstan-todo-by

Improve Expiration Date recognition

boxblinkracer opened this issue · 2 comments

Hi

I was playing around with it, and figured out that the expiration date has to be in a strict format
with 2-digit months

if people do not pay attention to that, then NO error is being displayed, which is risky

throws error - OK

// TODO: 2023-01-22 This comment turns into a PHPStan error as of 22nd december 2023

should throw error but does not - NOT OK

// TODO: 2023-1-22 This comment turns into a PHPStan error as of 22nd december 2023

maybe this could be improved :)

thanks for this great extension

yes. thanks for that super fast fix 🎉

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.