Fix codesniffer and repo tasks.