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.