Home Codacy News Introducing Codacy for PHP projects and easier file ignore

Introducing Codacy for PHP projects and easier file ignore

Author

Date

Category

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Subscribe to our newsletter

To be updated with all the latest news, offers and special announcements.

Recent posts

7 drawbacks of linting tools

Linting tools (also known as linters or static analyzers) help automate the code review process. They perform basic static code analysis by flagging programming...

Using the API to add Codacy Grade details to the Readme

Some context Codacy has a badge mechanism that can be included in your Readme file. It gives you an idea of the grade of your repository, from...

March Product Update: Support for Cloud Infrastructure-as-code, Custom Reports with API endpoints & more 🚀

Here are some fresh updates from March! This month we bring you a new product offering, new features, and product updates, interesting reads, and...

Top 10 ways to perform fast code review

We always want to be fast at code review.. How frequent is it for you to be reviewing code at 3am? When code reviewing, do you...

Interview with Gary McKay, Somos’ Director of Agile Service Delivery

Somos is a proven leader in registry management and data solutions. Somos fosters meaningful connections by delivering value, innovation and confidence to consumers. We...