seravo-plugin icon indicating copy to clipboard operation
seravo-plugin copied to clipboard

Start using a code consistency analysis and promote in README.md

Open ottok opened this issue 6 years ago • 4 comments

PHPCS has in their README.md:

Link goes to https://squizlabs.github.io/PHP_CodeSniffer/analysis/squizlabs/PHP_CodeSniffer/

This seems like a nice and free addition for open source project quality analysis. Please check if it would be good for our Seravo Plugin.

ottok avatar May 23 '19 10:05 ottok

I am not sure I understand what this issue actually aims at: PHPCS analyzed multiple different open source repositories for code style, and reported the results. How is this applicable to Seravo Plugin? By analyzing the code quality in this repository or the quality of the code on a client's website? Or analyzing other open source repositories?

l3ku avatar Jun 12 '19 08:06 l3ku

I mean having this report for our Seravo Plugin would be cool: image

ottok avatar Jun 13 '19 13:06 ottok

Yes, I understood that, but the questions that arise to me are:

  • Do we ask PHPCS to include our plugin into the report somehow? (I did not find any info about of how to get included there)

or

  • Do we create our own custom page like the one above into GitHub pages and use the code at https://github.com/squizlabs/PHP_CodeSniffer/tree/gh-pages/analysis to create the results?

l3ku avatar Jul 02 '19 13:07 l3ku

Do we create our own custom page like the one above into GitHub pages and use the code at https://github.com/squizlabs/PHP_CodeSniffer/tree/gh-pages/analysis to create the results?

We could try this or use Github Actions or Travis-CI to generate the report automatically.

ottok avatar May 27 '20 16:05 ottok