ObjectCalisthenics\Sniffs\Classes\PropertyVisibilitySniff::handleMultiPropertyDeclaration PHP Method

handleMultiPropertyDeclaration() private method

    private function handleMultiPropertyDeclaration()
    {
        if (($nextPtr = $this->phpcsFile->findNext(T_VARIABLE, $this->stackPtr + 1, null, false, null, true)) !== false) {
            $this->phpcsFile->addError('There must not be more than one property declared per statement', $this->stackPtr, 'MultiPropertyDecl');
        }
    }