News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPMaster.com:
Automate PSR Compliance through Jenkins
July 03, 2012 @ 09:08:34

On PHPMaster.com today there's new tutorial showing how you can enforce compliance with the PSR standards in your application's code with the help of the Jenkins continuous integration tool.

Though it's still early to guarantee that the PSRs will be widely adopted as the de facto standard for writing serious PHP applications, it is interesting to note that a code sniffer and fixer that looks for code deviations was developed by nobody less than Fabien Potencier, the creator of the Symfony framework. (Et bien, ils ne sont pas fous, ces franšais!) In the rest of the article we shall find out what his PHP-CS-Fixer does and how can it be integrated with a CI tool like Jenkins.

He shows how to install a tool that can help you keep your source in compliance - the "fixer" (created by Fabien Potencier) to help correct the problems found in your code. He includes the command line calls you'll need to run the tool on your code and how to add the step to your build.

0 comments voice your opinion now!
automation jenkins psr compliance fixer fabienpotencier


blog comments powered by Disqus

Similar Posts

Volker Dusch's Blog: Please ship your own coding standard as part of your project

Phil Bennett: Do We Need a Framework For That? Or Hurry Up PHP-FIG

PHPMaster.com: Automate PSR Compliance through Jenkins

Riding an Elefant: PHP-FIG's challenges, efficacy and attitude

PHP Town Hall Podcast: Episode #6 - PSR-X and the Mexican Standoff


Community Events











Don't see your event here?
Let us know!


security application podcast opinion database introduction package framework language series hhvm component symfony2 unittest composer release hack install performance facebook

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework