public static getClassProperties ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : array | ||
$phpcsFile | PHP_CodeSniffer_File | |
$stackPtr | integer | |
return | array |
/** * @param PHP_CodeSniffer_File $phpcsFile * @param int $stackPtr */ public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) { $this->propertyList = ClassAnalyzer::getClassProperties($phpcsFile, $stackPtr); $this->phpcsFile = $phpcsFile; $this->stackPtr = $stackPtr; if ($this->checkTotalPropertiesAmount()) { return; } if ($this->checkTrackedPropertiesAmount()) { return; } $this->checkUntrackedPropertyTypeAmount($phpcsFile, $stackPtr); }