WordPress/Sniffs/PHP/StrictComparisonsSniff.php
public function process_token( $stackPtr ) {

		if ( ! $this->has_whitelist_comment( 'loose comparison', $stackPtr ) ) {
			$error = 'Found: ' . $this->tokens[ $stackPtr ]['content'] . '. Use strict comparisons (=== or !==).';
			$this->phpcsFile->addWarning( $error, $stackPtr, 'LooseComparison' );
		}
	}
public function process_token( $stackPtr ) {

		if ( ! $this->has_whitelist_comment( 'loose comparison', $stackPtr ) ) {
			$error = 'Found: ' . $this->tokens[ $stackPtr ]['content'] . '. Use strict comparisons (=== or !==).';
			$this->phpcsFile->addWarning( $error, $stackPtr, 'LooseComparison' );
		}
	}
Processes this test, when one of its tokens is encountered.

@param int $stackPtr The position of the current token in the stack.

@return void