private function _checkUnusedFunctionParameters() {
		if ($this->_isActive('checkUnusedFunctionParameters')) {

			// If the docblock is inherited, this means that the function implements a parent function
			// We may have some unused parameters in this case, we don't generate a warnings
			if (!$this->statementStack->getParentStackItem()->docblocInheritDoc) {

				foreach ($this->_functionParameters as $variableName => $value) {
					if ($value !== "used") {
						$msg = $this->_getMessage('UNUSED_FUNCTION_PARAMETER', $this->_currentFunctionName, $variableName);
						$this->_writeError('checkUnusedFunctionParameters', $msg);
					}
				}
			}
		}
	}
private function _checkUnusedFunctionParameters() {
		if ($this->_isActive('checkUnusedFunctionParameters')) {

			// If the docblock is inherited, this means that the function implements a parent function
			// We may have some unused parameters in this case, we don't generate a warnings
			if (!$this->statementStack->getParentStackItem()->docblocInheritDoc) {

				foreach ($this->_functionParameters as $variableName => $value) {
					if ($value !== "used") {
						$msg = $this->_getMessage('UNUSED_FUNCTION_PARAMETER', $this->_currentFunctionName, $variableName);
						$this->_writeError('checkUnusedFunctionParameters', $msg);
					}
				}
			}
		}
	}
private function _checkUnusedFunctionParameters ( ) { if ( $ this -> _isActive ( 'checkUnusedFunctionParameters' ) ) { // If the docblock is inherited, this means that the function implements a parent function // We may have some unused parameters in this case, we don't generate a warnings if ( ! $ this -> statementStack -> getParentStackItem ( ) -> docblocInheritDoc ) { foreach ( $ this -> _functionParameters as $ variableName => $ value ) { if ( $ value !== "used" ) { $ msg = $ this -> _getMessage ( 'UNUSED_FUNCTION_PARAMETER' , $ this -> _currentFunctionName , $ variableName ) ; $ this -> _writeError ( 'checkUnusedFunctionParameters' , $ msg ) ; } } } } }
Check for unused function parameters.

This function is launched at the end of a function
Check for unused function parameters .