Use composer instead of PEAR to get codesniffer