JustBlackBird / gulp-phpcs

Gulp plugin for running PHP Code Sniffer
MIT License
47 stars 12 forks source link

Add reporting option #12

Closed culleningus closed 8 years ago

culleningus commented 9 years ago

Extend allowed options to include reporting

JustBlackBird commented 9 years ago

report option LGTM, but I don't like reportFile option. Also you should add some docs about option usage to readme.

culleningus commented 9 years ago

Yeah I saw that you allow custom reporters but it would be good to get the standard phpcs functionality.

How do you think we could going about getting the standard report types?

JustBlackBird commented 9 years ago

Yeah I saw that you allow custom reporters but it would be good to get the standard phpcs functionality.

If both gulp-phpcs reporters and PHPCS itself will output something somewhere it will be a mess. So, for consistency reasons, all output should be done with gulp-phpcs reporters.

How do you think we could going about getting the standard report types?

As I see --report PHPCS options does the job.

culleningus commented 9 years ago

Okay I get you, I'll clean that up and some docs.

JustBlackBird commented 8 years ago

Sorry, but I have to close the PR. I could not merge it automatically anymore. At the same time, I'll reopen it once you make changes we were talking about.

naunod commented 8 years ago

Hi there! I was interested by this PR. @culleningus said he got you @JustBlackBird but I did not! :) How can you define the report format? Indeed, with PHPCS you can use --report parameter to choose the format ('checkstyle' for instance). How can you do that with gulp-phpcs? Thanks in advance!

JustBlackBird commented 8 years ago

You've missed my point. I have nothing against --report option but I don't want to merge a PR with --reportFile option.