Fixed PHPMD rules