we are using sonarcloud to improve the quality of our code. We have a laravel (PHP) project and SonarCloud is very punitive with our Services, which have similar structures because of same actions like, for example: List Something (Hotels, Clients, etc…).
That’s why the analysis of this project is failing by now as we already exceed the 3.0% of code duplication and it’s something that keeps growing at the moment.
It is not duplicated code, it is similar services. How could we avoid this?