Upgrade guide to PHP_CodeSniffer 3.5.0 for sniff developers
PHP_CodeSniffer 3.5.0 contains a lot of changes under the hood. For the most part these are non-breaking.
If you maintain an external standard, you have three options:
- Maintain compatibility with older PHP_CodeSniffer versions . In that case, there is probably nothing you need to do. Just make sure you check the BC-breaks section below just in case. All the "old" utility methods and properties will still work. They will however be removed in PHPCS 4.0.
- Maintain compatibility with older PHP_CodeSniffer versions .