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

How does code quality fit into your CI/CD pipeline?

Continuous Integration and Continuous Deployment (CI/CD) are key for organizations wanting to deliver software at scale. CI/CD allows developers to automate...

How Stim uses Codacy to achieve high-quality code

We spoke with Tobias Sjรถsten, Head of Software Engineering at Stim, about how Codacy helps them guarantee code quality and standardization...

6 things developers should do to ship more secure code

Writing better, more secure source code is fundamental to prevent potential exploits and attacks that could undermine your software applications. However,...

Best practices for security code reviews

In today's interconnected world, where data breaches and cyber threats are increasingly common, one of your top priorities should be to...

April Product Update ๐Ÿš€

Hi there ๐Ÿ‘‹ It's been a whirlwind month, and we have big news to share: