Introducing Codacy for PHP projects and easier file ignore

In this article:
Subscribe to our blog:

Starting today, you can put Codacy to work on your PHP projects.
We’re also putting into production an interface for you to easily ignore files and folders.

These two features follow a big amount of great feedback we had from you. We’re really fortunate to have you using the platform and helping us every day making it better.

PHP

We’ve been studying hard what programming languages to support for the past several months.
After reaching out to several hundred users we’ve come to the conclusion that PHP developers would love to have Codacy working for their PHP code.

To give you more data, 1 in every 2 users that contacted us giving feedback asked for PHP. It’s impossible for us to ignore this.

To properly support an interesting set of analyzes, we reached out to our users and friends (honorable mention to Nuno Lopes) that helped us collect what matters.

Starting today, we’re giving you one more code pattern that executes PHPMD (PHP Mess Detector) on your code.
PHPMD searched for common problems and best practices much like the other code patterns we have been implementing and supporting. We’re very happy to introduce this tool to the catalogue of code patterns we can provide you to analyze your commits.

Here’s the type of results you can expect from PHPMD (from the PHPMD site):

  • Possible bugs
  • Suboptimal code
  • Overcomplicated expressions
  • Unused parameters, methods, properties

Here’s also a snapshot of it in action:

During the next several months we’re also thinking in supporting new PHP code patterns based on your problems so please share your pains with us.

Ignore files

A big part of having code analysis on your code is making sure you only see results for files that matter to you.

We previously had a way for you to filter files and directories but it wasn’t effective.
We’ve reworked this for you. You can now filter files and directories easily.

We’ve added a Settings button to your project details:

Inside your project settings you’ll find a button to ignore files that will lead you to this interface:

In summary to access this: Settings and Ignore files

We’re really excited to bring you this since so many users asked for it.
We want to continuing to support you and your code and we’re becoming better at it.
Thank you for being with us so far!


Edit: We just published an ebook: “The Ultimate Guide to Code Review” based on a survey of 680+ developers. Enjoy!


About Codacy

Codacy is used by thousands of developers to analyze billions of lines of code every day!

Getting started is easy – and free! Just use your  GitHub, Bitbucket or Google account to sign up.

GET STARTED

RELATED
BLOG POSTS

Why Scala Is Our Programming Language of Choice
We truly love Scala. Scala has been one of the pillars of Codacy from the start. Joao, who has an Enterprise Java background, has loved the language...
Scala Style: The Official Open Source Project Guide
Since we love Scala at Codacy we have developed our code analysis platform around it. Our love comes from having full power over a very expressive...
Visualizing Scala Code Style
This blog on Scala code style is based on a presentation done on ScalaBay

Automate code
reviews on your commits and pull request

Group 13