Fix PHPCS and PMD