/** * @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); }