For the latest updates and improvements, see the latest Cloud documentation instead.
PHP_CodeSniffer - Specifying your PHP version¶
If you are using the PHP Compatibility Coding Standard for PHP CodeSniffer, you can specify the PHP version you'd like to use from the supported versions.
To instruct which PHP version you want Codacy to use, you can define the following in a Codacy configuration file -
---
engines:
phpcs:
enabled: true
php_version: 5.5
Share your feedback 📢
Did this page help you?
Thanks for the feedback! Is there anything else you'd like to tell us about this page?
255 characters left
We're sorry to hear that. Please let us know what we can improve:
255 characters left
Alternatively, you can create a more detailed issue on our GitHub repository.
Thanks for helping improve the Codacy documentation.
If you have a question or need help please contact support@codacy.com.