SONARPLUGINS-2348 Fix ruleset of phpmd: mix between TooManyMethods and ExcessiveClassComplexity