SonarCloud knows how to scan your PHP 8 code

Hello PHP developers,

PHP 8 is soon to be released (end of Nov 2020) so we decided to upgrade our PHP analyzer so that it can scan your PHP 8 code. There is no change to do on your side, it should just work out of the box.

Here are the PHP 8 features supported by SonarCloud:

For SonarQube users, this will be included in SonarQube 8.6.

Alex

6 Likes

Hello @Alexandre_Gigleux,

We’re interested in analysing PHP 8.0 code, but our SonarQube servers are still 7.9.x LTS, and the update center only proposes PHP plugin version 3.3. Is there anything actually preventing usage of a more recent PHP plugin versions on SQ 7.9? From what I can see on the Github repo, it looks like it is still developed for the 7.9 API, but maybe I’m missing something.

Thanks in advance for your reply,
Thomas.

Hey @thomasgl-orange,

The last version of our PHP analyzer marked as compatible with SonarQube v7.9 LTS is v3.3.

For more information, see here: