ObjectCalisthenics\AbstractPropertyTypePerClassLimitSniff::process PHP 메소드

process() 공개 메소드

public process ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr )
$phpcsFile PHP_CodeSniffer_File
$stackPtr integer
    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);
    }