Revert "Add sonar violations"

This reverts commit b443ac35ba9dd964a55a94990a4a2c655e872301.