Failing analysis ID: "4e3723d5-be06-4a58-a0c2-708f18ff07bd"

Hi, I have a problem with the analysis 4e3723d5-be06-4a58-a0c2-708f18ff07bd.

The full message:

The last analysis has failed. If it keeps on failing after several attempts, please contact us
on Community forum and provide the following failing analysis ID: "4e3723d5-be06-4a58-a0c2-708f18ff07bd".

Thanks

Hi Jan,

Thanks for using our products.

It seems it’s on our side and pinged the experts.

In the mean time I saw a thierd party library was analyzed.

Do you really need to analyze third party libraries?

If not you could exclude the folder /library from the analysis and it could make your whole analysis faster.

By the way, it seems this file is causing the issue, so as a nice side effect it could remove the issue.

Best.

Hi Olivier,

I am not really comfortable discussing the details of a private codebase on a public forum.

Nonetheless, that suggestion unfortunately doesn’t fit our use case.

Thanks

Hello Jan,

I was able to reproduce the problem.

I’ve created https://jira.sonarsource.com/browse/SONARPHP-1033 to track it. We would address this in the next release. In the meantime there are two possibilities:

  • Exclude the third-party library @Olivier_Schmitt mentioned from the analysis.
  • Deactivate the rule S1764 “Identical expressions should not be used on both sides of a binary operator”

Sorry for the inconvenience.

Best.

Hi Karim,

no worries, thanks for the heads up!

Hello!

Small update on this: a new version of the PHP analyzer that should prevent this from happening was deployed this week .