Totara Perform Open Discussions

Totara CodeSniffer Release date

 
Mohammed Dawood
Totara CodeSniffer Release date
de Mohammed Dawood - Wednesday, 28 de January de 2026, 22:04
 

Hi Totara team,

I see that the totara code sniffer is still using 3.9.0 and already the latest release from the "PHPCSStandards/PHP_CodeSniffer" has come in the late 2025 (4.0.1). When does totara will upgrade the codesniffer to this latest release.
Can you please share some light on the road map on codesniffer would be helpful.


Thank you,

Cody Finegan
Re: Totara CodeSniffer Release date
de Cody Finegan - Thursday, 30 de April de 2026, 19:05
Grupo Totara

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