WordPress/Sniffs/WP/AlternativeFunctionsSniff.php
protected function is_local_data_stream( $raw_param_value ) {

		$raw_stripped = $this->strip_quotes( $raw_param_value );
		if ( isset( $this->allowed_local_streams[ $raw_stripped ] )
			|| isset( $this->allowed_local_stream_constants[ $raw_param_value ] )
		) {
			return true;
		}

		foreach ( $this->allowed_local_stream_partials as $partial ) {
			if ( strpos( $raw_stripped, $partial ) === 0 ) {
				return true;
			}
		}

		return false;
	}
protected function is_local_data_stream( $raw_param_value ) {

		$raw_stripped = $this->strip_quotes( $raw_param_value );
		if ( isset( $this->allowed_local_streams[ $raw_stripped ] )
			|| isset( $this->allowed_local_stream_constants[ $raw_param_value ] )
		) {
			return true;
		}

		foreach ( $this->allowed_local_stream_partials as $partial ) {
			if ( strpos( $raw_stripped, $partial ) === 0 ) {
				return true;
			}
		}

		return false;
	}
Determine based on the "raw" parameter value, whether a file parameter points to
a local data stream.

@param string $raw_param_value Raw parameter value.

@return bool True if this is a local data stream. False otherwise.