Skip to content

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 - .codacy.yml:

---
engines:
  phpcs:
    enabled: true
    php_version: 5.5

Feedback

Did this page help you?

Thank you for the feedback!

We're sorry to hear that. Please let us know what we can improve.

If you have a question, please ask our community or contact support@codacy.com.

Last modified November 9, 2020