Linting with SonarCloud


We are doing a pilot for SonarCloud static code analysis, yet it does not look to be supporting code linting (syntax check). I simply opened a new PR editing existing PHP file with gibberish text and it did not complain at all. Am I missing some settings or SonarCloud is not supposed to do a syntax check or just PHP is somehow omitted.

Syntax checking is definitely not the main target for SonarCloud.
SonarCloud tries to parse PHP files and it should report parsing issues if you activate a specific rule which is not activated by default.
SonarCloud has more than 200 rules for PHP to detect code smells, bugs or vulnerabilities based on static code analysis. I believe that’s what most people mean when they mention “linting”.