povils / phpmnd

PHP Magic Number Detector
MIT License
554 stars 46 forks source link

Support github action output format #148

Open exussum12 opened 2 years ago

exussum12 commented 2 years ago

https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions#setting-an-error-message

This will leave comments inline with the offending code, the output option can be used to turn it on, may even detect github by default

MGatner commented 2 years ago

This would be a helpful feature to have. Not sure if this would be helpful or not, but I reckoned this to another project and here is the implementation: https://github.com/composer-unused/composer-unused/pull/280