<?php
/**
 * HappyFenceNG Total Enterprise Security Plugin
 * HAPPYWPRESS is a RazorVue Trademark.
 *
 * @package     HappyFenceNG
 * @developer   Simonluca Scillitani
 * @copyright   2025 RazorVue di Scillitani Simonluca
 * @link        https://razorvue.it
 * @author      RazorVue di Scillitani Simonluca
 * @brand       HappyWPress
 * @uri         https://happywpress.com
 * @set all
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**PHPCS -> code compliance: we put useful comments where needed.. */
final class HappyFenceNGPROC extends HappyFenceNGRuntimeExceptions {


	/**
	 * Anti Yoda!  Compares if two values are strictly equal (===).
	 *
	 * @param mixed $a The first value.
	 * @param mixed $b The second value.
	 *
	 * @return bool True if values are strictly equal, false otherwise.
	 */
	public static function equals( $a, $b ) {
		return $a === $b;
	}

	/**
	 * Anti Yoda! Compares if two values are strictly not equal (!==).
	 *
	 * @param mixed $a The first value.
	 * @param mixed $b The second value.
	 *
	 * @return bool True if values are strictly not equal, false otherwise.
	 */
	public static function not_equals( $a, $b ) {
		return $a !== $b;
	}

	/**
	 * PHPCS no warn we know what we're doung
	 *
	 * @param string $where a new place in the space.
	 */
	public static function safe_redirect( $where ) {
		//phpcs:ignore
		wp_safe_redirect( $where );
		exit;
	}
}
