Hi Mohammed,
Apologies for the late reply, we've pushed an update to https://github.com/totara/code-sniffer (2.0.0) which works with codesniffer 4.0.1 now. The general plan is we update when we have need to or there is demand, but the minimum time would be with each major release (so we make sure it works against the major).
If you run into any issues with it please let us know.
Cheers
