public function UnusedPrivateMethodSniff::__construct in Coder 8.2
Same name and namespace in other branches
- 8.3 coder_sniffer/DrupalPractice/Sniffs/Objects/UnusedPrivateMethodSniff.php \DrupalPractice\Sniffs\Objects\UnusedPrivateMethodSniff::__construct()
- 8.3.x coder_sniffer/DrupalPractice/Sniffs/Objects/UnusedPrivateMethodSniff.php \DrupalPractice\Sniffs\Objects\UnusedPrivateMethodSniff::__construct()
Constructor.
File
- coder_sniffer/
DrupalPractice/ Sniffs/ Objects/ UnusedPrivateMethodSniff.php, line 30
Class
- UnusedPrivateMethodSniff
- Checks that private methods are actually used in a class.
Namespace
DrupalPractice\Sniffs\ObjectsCode
public function __construct() {
parent::__construct([
T_CLASS,
], [
T_FUNCTION,
], false);
}