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

Jakub Zalas:
Static analysis tools for PHP in a single docker image
Jul 21, 2017 @ 10:56:07

Jakub Zalas has a new post to his site sharing a Docker image he's created to help make static analysis for your PHP code simpler: the phpqa image.

As part of my job I often perform application reviews and code quality analysis for clients who wish to have their code base looked at by an independent company. Running static analysis tools is usually a starting point to the review as it gives a general overview of a state of the project. I also like to run those tools as part of an introduction to an inherited code base.

For an easy access to the most popular static analysis tools for PHP I recently created a docker image - phpqa.

He lists out the tools that are included with the current version (a quite lengthy list) including:

  • analyze
  • box
  • deptrac
  • php-code-fixer
  • phpDocumentor
  • phpa
  • phploc
  • phpmd
  • phpstan
  • psalm

...and many more. Check out the full post for more of the tools in the list and links to more information about each one.

tagged: docker image static analysis tool image phpqa

Link: http://zalas.eu/phpqa-static-analysis-tools-for-php-docker-image/

Zoe Slattery's Blog:
PHP TestFest 2009
Feb 02, 2009 @ 08:44:54

Its that time of year again - time to get the ball rolling for this year's PHP TestFest. Zoe Slattery has kicked things off with a new post for today.

It's time to start getting the 2009 PHP TestFest underway. The TestFest is a worldwide event in which PHP user groups and individuals contribute to PHP by writing tests for PHP. It's a great way to contribute to one of the most successful open source projects there has ever been, it's also pretty cool to see your name in the the source distribution for code that's running on over 20 million web domains.

If you're a user group (or really just want to participate), send an email over to the PHP qa list (php-qa@lists.php.net) with your preferred date and a primary contact for the group. The groups/people will then be listed over on the PHP wiki so you can check to see if there's others in your area already participating.

Things are just getting organized, but there's already a few things in the works - a SVN repository where participants can commit tests directly (instead of funneling them all through a few people like before), some sponsors (maybe elePHPants!) and the search for mentors to help out those writing tests and can do the final review/commit of the user-submitted tests.

More event and contact information can be found near the end of her post.

tagged: testfest09 phpqa mentor sponsor mailinglist group wiki

Link: