ChromatixAU / phpcs-config-chromatix

Chromatix custom config for phpcs. Based heavily on the WordPress Coding Standards but with some of our own too.
https://www.chromatix.com.au
MIT License
1 stars 0 forks source link

Add a rule to warn on TODO comments #14

Closed tdmalone closed 6 years ago

tdmalone commented 6 years ago

Generic.Commenting.Todo.CommentFound seems to do this, but on previous testing it did not seem to work. It may well work now if we try again!

amritcheema25 commented 6 years ago

Hey @tdmalone , Yes its working now. I tested on ipx. Just un-comment the code. `

5

`

tdmalone commented 6 years ago

Oh, excellent! @amritcheema25 Can you make that change to this config? You can commit it directly to master. Then, add a version tag, and that will automatically deploy to Packagist, which means Composer will then bring the latest version down for new projects.

amritcheema25 commented 6 years ago

Done . https://github.com/ChromatixAU/phpcs-config-chromatix/commit/d2f6b78da2d76062fe30f4b36c8e851578b47ca0

tdmalone commented 6 years ago

Thanks @amritcheema25! Don't forget the tag too :) (if you created it locally you'll need to git push --tags)

tdmalone commented 6 years ago

You can see the latest tags here