HumHub Documentation (unofficial)

DeprecatedSniff.php

Marks a sniff as deprecated.

Implementing this interface allows for marking a sniff as deprecated and displaying information about the deprecation to the end-user.

A sniff will still need to implement the PHP_CodeSniffer\Sniffs\Sniff interface as well, or extend an abstract sniff which does, to be recognized as a valid sniff.

Tags
author

Juliette Reinders Folmer phpcs_nospam@adviesenzo.nl

copyright

2024 PHPCSStandards Contributors

license

https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence

Table of Contents

Interfaces

DeprecatedSniff

        
On this page

Search results