So I know recently whoever has been pushing toward using php-cs in our Jenkins system to help enforce better coding style automatically.
Well, recently PHP Analyzer, which is made by the same company as php-cs and does code logic analysis, was just open sourced. I'm running it on MW master right now to see what it says, but does anybody else know about this product? Maybe it'd be useful to try and put it into our build system along with php-cs? Thoughts...
*--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerromeo@gmail.com
Le 04/03/13 07:35, Tyler Romeo a écrit :
So I know recently whoever has been pushing toward using php-cs in our Jenkins system to help enforce better coding style automatically.
Well, recently PHP Analyzer, which is made by the same company as php-cs and does code logic analysis, was just open sourced. I'm running it on MW master right now to see what it says, but does anybody else know about this product? Maybe it'd be useful to try and put it into our build system along with php-cs? Thoughts...
We can surely add it to our test suite. I guess that will depend how useful it is and how fast it runs on mediawiki/core :-]
Do you mind sharing the package/source code link?
On Mon, Mar 4, 2013 at 2:01 PM, Antoine Musso hashar+wmf@free.fr wrote:
Do you mind sharing the package/source code link?
https://github.com/scrutinizer-ci/php-analyzer
*--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerromeo@gmail.com
Le 04/03/13 11:03, Tyler Romeo a écrit :
Do you mind sharing the package/source code link?
Go ahead and play with it on a labs instance. If you could manage to get an output generated for mediawiki/core that will give us an idea about the usefulness of such tool.
I will be more than happy to integrate it in Jenkins if we end up being interested in such analyse.
On 03/04/2013 10:35 AM, Tyler Romeo wrote:
Well, recently PHP Analyzer, which is made by the same company as php-cs and does code logic analysis, was just open sourced. [...]
As far as I can tell, PHP Analyzer is a completely separate program written by a different author (Johannes Schmitt), whose [hosted service][1] also incorporates PHPCS. What, if anything, suggests he is involved in the development of PHPCS at all?
[1]: https://scrutinizer-ci.com/
On Mon, Mar 4, 2013 at 4:26 PM, Kevin Israel pleasestand@live.com wrote:
As far as I can tell, PHP Analyzer is a completely separate program written by a different author (Johannes Schmitt), whose [hosted service][1] also incorporates PHPCS. What, if anything, suggests he is involved in the development of PHPCS at all?
That was a misunderstanding on my part. I meant to e-mail about it earlier. If you click on the link for PHP Analyzer's documentation, it brings you to a CI site that also has documentation for PHPCS and a number of other products, so I assumed that they were just maintaining them all.
*--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerromeo@gmail.com
wikitech-l@lists.wikimedia.org