WPThemeReview/Sniffs/PluginTerritory/AdminBarRemovalSniff.php
protected function validate_css_property_value( $value, $compare_type, $compare_value ) {
		switch ( $compare_type ) {
			case '!=':
				return $value !== $compare_value;

			case '>':
				return $value > $compare_value;

			default:
				return false;
		}
	}
protected function validate_css_property_value( $value, $compare_type, $compare_value ) {
		switch ( $compare_type ) {
			case '!=':
				return $value !== $compare_value;

			case '>':
				return $value > $compare_value;

			default:
				return false;
		}
	}
Verify if a CSS property value complies with an expected value.

{@internal This is a method stub, doing only what is needed for this sniff.
If at some point in the future other sniff would need similar functionality,
this method should be moved to the WordPress_Sniff class and expanded to cover
all types of comparisons.}}

@since WPCS 0.11.0

@param mixed  $value         The value of CSS property.
@param string $compare_type  The type of comparison to use for the validation.
@param string $compare_value The value to compare against.

@return bool True if the property value complies, false otherwise.