private function _processAnnotation($token, $comment) {
		// Read the documentation line by line
		$subToken = strtok($comment, PHP_EOL);
		while ($subToken !== false) {
			// Manage annotations
			$pos = stripos($subToken, "@SuppressWarnings");
			if ($pos !== false) {
				$suppressedCheck = trim(substr($subToken, $pos + strlen("@SuppressWarnings")));
				$supprArray = explode(' ', $suppressedCheck);
				foreach ($supprArray as $supprCheck) {
					$suppressedCheck = trim($supprCheck);
					// Store the suppressed warning in the corresponding array
					if ($token === T_CLASS) {
						$this->_classSuppressWarnings[] = $suppressedCheck;
					} elseif ($token === T_INTERFACE) {
						$this->_interfaceSuppressWarnings[] = $suppressedCheck;
					} elseif ($token === T_FUNCTION) {
						$this->_functionSuppressWarnings[] = $suppressedCheck;
					} elseif ($token === T_FILE) {
						$this->_fileSuppressWarnings[] = $suppressedCheck;
					}
				}
			}

			$subToken = strtok(PHP_EOL);
		}
	}
private function _processAnnotation($token, $comment) {
		// Read the documentation line by line
		$subToken = strtok($comment, PHP_EOL);
		while ($subToken !== false) {
			// Manage annotations
			$pos = stripos($subToken, "@SuppressWarnings");
			if ($pos !== false) {
				$suppressedCheck = trim(substr($subToken, $pos + strlen("@SuppressWarnings")));
				$supprArray = explode(' ', $suppressedCheck);
				foreach ($supprArray as $supprCheck) {
					$suppressedCheck = trim($supprCheck);
					// Store the suppressed warning in the corresponding array
					if ($token === T_CLASS) {
						$this->_classSuppressWarnings[] = $suppressedCheck;
					} elseif ($token === T_INTERFACE) {
						$this->_interfaceSuppressWarnings[] = $suppressedCheck;
					} elseif ($token === T_FUNCTION) {
						$this->_functionSuppressWarnings[] = $suppressedCheck;
					} elseif ($token === T_FILE) {
						$this->_fileSuppressWarnings[] = $suppressedCheck;
					}
				}
			}

			$subToken = strtok(PHP_EOL);
		}
	}
private function _processAnnotation ( $ token , $ comment ) { // Read the documentation line by line $ subToken = strtok ( $ comment , PHP_EOL ) ; while ( $ subToken !== false ) { // Manage annotations $ pos = stripos ( $ subToken , "@SuppressWarnings" ) ; if ( $ pos !== false ) { $ suppressedCheck = trim ( substr ( $ subToken , $ pos + strlen ( "@SuppressWarnings" ) ) ) ; $ supprArray = explode ( ' ' , $ suppressedCheck ) ; foreach ( $ supprArray as $ supprCheck ) { $ suppressedCheck = trim ( $ supprCheck ) ; // Store the suppressed warning in the corresponding array if ( $ token === T_CLASS ) { $ this -> _classSuppressWarnings [ ] = $ suppressedCheck ; } elseif ( $ token === T_INTERFACE ) { $ this -> _interfaceSuppressWarnings [ ] = $ suppressedCheck ; } elseif ( $ token === T_FUNCTION ) { $ this -> _functionSuppressWarnings [ ] = $ suppressedCheck ; } elseif ( $ token === T_FILE ) { $ this -> _fileSuppressWarnings [ ] = $ suppressedCheck ; } } } $ subToken = strtok ( PHP_EOL ) ; } }
Process PHP_DOC looking for annotations.

@param Integer $token
T_CLASS or T_FUNCTION
@param String $comment
the comment to analyse
Process PHP_DOC looking for annotations .