Sync PHPCS rules and fix errors